httperror.js
/**
 * Http error
 *
 * HttpError should be used to represent error caused by end-users.
 *
 * @param {Number} status HTTP status code
 * @param {String} message error message
 */
Http error
HttpError should be used to represent error caused by end-users.

@param {Number} status HTTP status code
@param {String} message error message
Http error HttpError should be used to represent error caused by end - users . @param { Number } status HTTP status code @param { String } message error message
function HttpError (status, message) {
  Error.call(this);
  Error.captureStackTrace(this, arguments.callee);
  this.status = status;
  this.message = message;
  this.name = 'HttpError';
}
function HttpError ( status , message ) { Error . call ( this ) ; Error . captureStackTrace ( this , arguments . callee ) ; this . status = status ; this . message = message ; this . name = 'HttpError' ; }
Http error
 HttpError should be used to represent error caused by end-users.
Http error HttpError should be used to represent error caused by end - users .