Home
last modified time | relevance | path

Searched refs:MultiError (Results 1 – 2 of 2) sorted by relevance

/third_party/node/deps/npm/node_modules/verror/lib/
Dverror.js23 VError.MultiError = MultiError;
325 return (new MultiError(errors));
333 if (err instanceof MultiError) {
380 function MultiError(errors) class
391 mod_util.inherits(MultiError, VError);
392 MultiError.prototype.name = 'MultiError';
394 MultiError.prototype.errors = function me_errors()
/third_party/node/deps/npm/node_modules/verror/
DREADME.md27 * **MultiError**, which is just an Error that encapsulates one or more other
348 * more than 1 element, returns a MultiError referencing the whole list
358 Convenience function for iterating an error that may itself be a MultiError.
360 In all cases, `err` must be an Error. If `err` is a MultiError, then `func` is
361 invoked as `func(errorN)` for each of the underlying errors of the MultiError.
366 that may be encapsulated with a MultiError -- but may not be.
480 # Reference: MultiError
482 MultiError is an Error class that represents a group of Errors. This is used
490 new MultiError(error_list)
495 The cause of the MultiError is the first error provided. None of the other
[all …]