You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
558 B
17 lines
558 B
"use strict";
|
|
/**
|
|
* Error subclass to use when the source does not exist at the specified endpoint.
|
|
*
|
|
* @param {String} message optional "message" property to set
|
|
* @api protected
|
|
*/
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
class NotFoundError extends Error {
|
|
constructor(message) {
|
|
super(message || 'File does not exist at the specified endpoint');
|
|
this.code = 'ENOTFOUND';
|
|
Object.setPrototypeOf(this, new.target.prototype);
|
|
}
|
|
}
|
|
exports.default = NotFoundError;
|
|
//# sourceMappingURL=notfound.js.map
|