code: function unauthorized(res) {
    const err = new Error('Unauthorized request'),
      message = removePrefix(err.message, ':'),
      code = 401;
  
    sendDefaultResponseForCode(code, message, res);
  }
docs: All client errors should look like this.
  
  @param {object} res