promise-useful-utils
Version:
useful functions for working with promises
22 lines (19 loc) • 392 B
JavaScript
/**
* Error
* +-- PromiseUsefulUtilsError
* +-- TimeoutError
*/
;
var spec = {
name: 'PromiseUsefulUtilsError',
message: 'InternalError',
errors: [{
name: 'AggregateError',
message: 'aggregate error'
}, {
name: 'TimeoutError',
message: '{0}'
}]
};
require('error-system').extend(Error, spec);
module.exports = Error.PromiseUsefulUtilsError;