src/client.js
function throwTimeoutError(resp) {
  let err = new Error('timeout');
  err.type = 'timeout';
  err.response = resp;
  err.url = resp.url;
  throw err;
}
function throwTimeoutError(resp) {
  let err = new Error('timeout');
  err.type = 'timeout';
  err.response = resp;
  err.url = resp.url;
  throw err;
}
function throwTimeoutError ( resp ) { let err = new Error ( 'timeout' ) ; err . type = 'timeout' ; err . response = resp ; err . url = resp . url ; throw err ; }
Constructs and throws a timeout-based error.
Constructs and throws a timeout - based error .