UNPKG

promise-useful-utils

Version:
22 lines (19 loc) 392 B
/** * Error * +-- PromiseUsefulUtilsError * +-- TimeoutError */ 'use strict'; 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;