|
/**
|
|
* Errors that can be visible and understood by the end user.
|
|
* Used mainly in the global error handler.
|
|
*/
|
|
export default class UserError extends Error {
|
|
constructor(message, fileName, lineNumber) {
|
|
super(message, fileName, lineNumber);
|
|
this.name = 'UserError';
|
|
}
|
|
}
|