function createError(status, message) {
  var err = new Error(message);
  err.status = status;
  return err;
}
function createError(status, message) {
  var err = new Error(message);
  err.status = status;
  return err;
}
function createError ( status , message ) { var err = new Error ( message ) ; err . status = status ; return err ; }
Create HTTP error
Create HTTP error
Create an error object