ForbiddenError

Extends

code
Default: 403
message
Default: 'Forbidden'
new ForbiddenError(message)
Parameters:
  • message
    • Type: String
setUID(uid)
Parameters:
  • uid
    • Type: String or Integer
    • request indentifier

toJSON()Object
Returns: Object
toLogger()Object

similar to RequestError#toJSON except that it returns all information available instead of just public user facing error description.

Returns: Object
toSwagger()Object

Open API schema representation of the error response

Returns: Object
comments powered by Disqus