A suite to track Project Diva score statistics and ratings / D4DJ event data.
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.
 
 
 
 
 
 
projectdivar/server/node_modules/spex/lib/errors/index.js

36 lines
1.0 KiB

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);