get-uri
Version:
Returns a `stream.Readable` from a URI string
13 lines • 404 B
JavaScript
/**
* Error subclass to use when the source does not exist at the specified endpoint.
*
* @param {String} message optional "message" property to set
* @api protected
*/
export default class NotFoundError extends Error {
constructor(message) {
super(message || 'File does not exist at the specified endpoint');
this.code = 'ENOTFOUND';
}
}
//# sourceMappingURL=notfound.js.map