forked from lucaspatenaude/ScoreSpot
Update to NPM version
This commit is contained in:
36
ProjectSourceCode/node_modules/spex/lib/errors/index.js
generated
vendored
Normal file
36
ProjectSourceCode/node_modules/spex/lib/errors/index.js
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
const {BatchError} = require('./batch');
|
||||
const {PageError} = require('./page');
|
||||
const {SequenceError} = require('./sequence');
|
||||
|
||||
|
||||
/**
|
||||
* @namespace errors
|
||||
* @description
|
||||
* Namespace for all custom error types supported by the library.
|
||||
*
|
||||
* In addition to the custom error type used by each method (regular error), they can also reject with
|
||||
* {@link external:TypeError TypeError} when receiving invalid input parameters.
|
||||
*
|
||||
* @property {function} BatchError
|
||||
* {@link errors.BatchError BatchError} class.
|
||||
*
|
||||
* Represents regular errors that can be reported by method {@link batch}.
|
||||
*
|
||||
* @property {function} PageError
|
||||
* {@link errors.PageError PageError} class.
|
||||
*
|
||||
* Represents regular errors that can be reported by method {@link page}.
|
||||
*
|
||||
* @property {function} SequenceError
|
||||
* {@link errors.SequenceError SequenceError} class.
|
||||
*
|
||||
* Represents regular errors that can be reported by method {@link sequence}.
|
||||
*
|
||||
*/
|
||||
module.exports = {
|
||||
BatchError,
|
||||
PageError,
|
||||
SequenceError
|
||||
};
|
||||
|
||||
Object.freeze(module.exports);
|
||||
Reference in New Issue
Block a user