code: function UnauthorizedError(message) {
    Error.call(this);
    Error.captureStackTrace(this, this.constructor);
  
    this.status = 401;
    this.message = 'Unauthorized: ' + message;
    this.name = this.constructor.name;
  }
docs: thrown when endpoint authorization fails