Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
pm2 / usr / local / lib / pm2 / node_modules / get-uri / notfound.js
Size: Mime:

/**
 * 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);