Initial commit: Torrent search and download application
This commit is contained in:
commit
e38be704ff
4313 changed files with 791544 additions and 0 deletions
16
node_modules/get-uri/dist/notfound.js
generated
vendored
Normal file
16
node_modules/get-uri/dist/notfound.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
"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';
|
||||
}
|
||||
}
|
||||
exports.default = NotFoundError;
|
||||
//# sourceMappingURL=notfound.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue