A JavaScript framework for displaying errors to the end-user.
The alertError() function can be used to display an error in an alert. There is an optional 'err' parameter that can be used to specify the error in the alert.
The logError() function can be used to display an error in the JavaScript console.
The fatalError() function displays an error both in an alert and in the console, and also stops all JavaScript execution.