| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 1× 1× 46× 46× 1× 1× 1× 1× | "use strict";
var inherits = require('./util').inherits;
/**
* An Error that is thrown from a {@link Container#resolve} call upon a failure.
*
* @param message
* @constructor
*/
function ResolutionError(message) {
Error.call(this);
this.message = message;
}
ResolutionError.prototype.type = 'ResolutionError';
ResolutionError.prototype.constructor = ResolutionError;
inherits(ResolutionError, Error);
module.exports = ResolutionError;
|