Searched refs:VError (Results 1 – 4 of 4) sorted by relevance
/third_party/node/deps/npm/node_modules/verror/lib/ |
D | verror.js | 17 module.exports = VError; 19 VError.VError = VError; 21 VError.SError = SError; 22 VError.WError = WError; 23 VError.MultiError = MultiError; 132 function VError() class 143 if (!(this instanceof VError)) { 144 obj = Object.create(VError.prototype); 145 VError.apply(obj, arguments); 213 mod_util.inherits(VError, Error); [all …]
|
/third_party/node/deps/npm/node_modules/verror/ |
D | README.md | 17 * **VError**, for chaining errors while preserving each one's error message. 25 * **SError**, which is just like VError but interprets printf-style arguments 37 If nothing else, you can use VError as a drop-in replacement for the built-in 41 var err = new VError('missing file: "%s"', '/etc/passwd'); 55 var err2 = new VError(err1, 'stat "%s"', filename); 70 program's name to the VError's `message`. Or just call 89 var err2 = new VError(err1, 'failed to stat "%s"', '/junk'); 90 var err3 = new VError(err2, 'request failed'); 110 The two main goals for VError are: 127 That's why VError supports `causes`. [all …]
|
D | CHANGES.md | 13 * #47 could use VError.hasCauseWithName()
|
/third_party/node/deps/npm/node_modules/jsprim/lib/ |
D | jsprim.js | 560 var rv = new mod_verror.VError('property "%s": %s', propname, reason);
|