1 | ;
|
2 | /**
|
3 | * Error subclass to use when the source does not exist at the specified endpoint.
|
4 | *
|
5 | * @param {String} message optional "message" property to set
|
6 | * @api protected
|
7 | */
|
8 | Object.defineProperty(exports, "__esModule", { value: true });
|
9 | class NotFoundError extends Error {
|
10 | constructor(message) {
|
11 | super(message || 'File does not exist at the specified endpoint');
|
12 | this.code = 'ENOTFOUND';
|
13 | Object.setPrototypeOf(this, new.target.prototype);
|
14 | }
|
15 | }
|
16 | exports.default = NotFoundError;
|
17 | //# sourceMappingURL=notfound.js.map |
\ | No newline at end of file |