lib/errors.js
function InvalidSignature(reason) {
  Error.captureStackTrace(this, this.constructor);
  this.type = 'unauthorized';
  this.statusCode = 401;
  this.message = 'Invalid request signature';
  this.reason = reason;
}
function InvalidSignature(reason) {
  Error.captureStackTrace(this, this.constructor);
  this.type = 'unauthorized';
  this.statusCode = 401;
  this.message = 'Invalid request signature';
  this.reason = reason;
}
function InvalidSignature ( reason ) { Error . captureStackTrace ( this , this . constructor ) ; this . type = 'unauthorized' ; this . statusCode = 401 ; this . message = 'Invalid request signature' ; this . reason = reason ; }
InvalidSignature returns the proper status code and type
InvalidSignature returns the proper status code and type