mirror of https://github.com/lukechilds/ava.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
196 B
12 lines
196 B
'use strict';
|
|
|
|
function AvaError(message) {
|
|
if (!(this instanceof AvaError)) {
|
|
return new AvaError(message);
|
|
}
|
|
|
|
this.message = message;
|
|
this.name = 'AvaError';
|
|
}
|
|
|
|
module.exports = AvaError;
|
|
|