Update to NPM version

This commit is contained in:
Lucas Patenaude
2024-04-11 04:23:19 -06:00
parent 886d197fa7
commit 6d6ef4f257
8225 changed files with 863748 additions and 1 deletions

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