src/index.js
function error (response, status, message) {
  let e = new Error(`${status}: ${message}`)
  e.response = response
  e.status = status
  return e
}
function error (response, status, message) {
  let e = new Error(`${status}: ${message}`)
  e.response = response
  e.status = status
  return e
}
function error ( response , status , message ) { let e = new Error ( ` ${ status } ${ message } ` ) e . response = response e . status = status return e }
Create an HTTP response error.
Create an HTTP response error .