A shortcut to throw an error, very simple!
npm install fataly --save
<script src="node_modules/fataly/dist/fataly.min.js"></script>
<script src="https://unpkg.com/fataly/dist/fataly.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/fataly/dist/fataly.min.js"></script>
var fataly = require('fataly');
fataly('Your error message!');
Fataly is open-sourced software licensed under the MIT license