/** * Module dependencies. */ var inherits = require('util').inherits; /** * Module exports. */ module.exports = NotFoundError; /** * Error subclass to use when the source does not exist at the specified endpoint. * * @param {String} message optional "message" property to set * @api protected */ function NotFoundError (message) { this.name = 'NotFoundError'; this.code = 'ENOTFOUND'; this.message = message || 'File does not exist at the specified endpoint'; Error.captureStackTrace(this, NotFoundError); } inherits(NotFoundError, Error);
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.github | Folder | 0755 |
|
|
node_modules | Folder | 0755 |
|
|
test | Folder | 0755 |
|
|
History.md | File | 3.58 KB | 0644 |
|
README.md | File | 5.42 KB | 0644 |
|
data.js | File | 1.38 KB | 0644 |
|
file.js | File | 1.91 KB | 0644 |
|
ftp.js | File | 3.1 KB | 0644 |
|
http.js | File | 6.38 KB | 0644 |
|
https.js | File | 310 B | 0644 |
|
index.js | File | 1.83 KB | 0644 |
|
notfound.js | File | 565 B | 0644 |
|
notmodified.js | File | 598 B | 0644 |
|
package.json | File | 3.7 KB | 0644 |
|