jasmine-istanbul-reporter
Version:
Jasmine report plugin that scrapes test pages for istanbul coverage stats and writes them to a set of files for eventual conversion to LCOV, Cobertura, etc.
18 lines (17 loc) • 485 B
JavaScript
module.exports = {
ArgumentError: ArgumentError,
InterfaceError: InterfaceError,
ScriptExecutionError: ScriptExecutionError
};
function ArgumentError(message) {
this.name = 'ArgumentError';
this.__proto__ = new Error(message);
}
function InterfaceError(message) {
this.name = 'InterfaceError';
this.__proto__ = new Error(message);
}
function ScriptExecutionError(message) {
this.name = 'ScriptExecutionError';
this.__proto__ = new Error(message);
}