Extends
Members
code
Default:
403
message
Default:
'Forbidden'
Constructor
- message
- Type:
String
- msg
- Type:
String
DEPRECATED - error message provided as the second argument
new ForbiddenError(message, msg)
Parameters:
Inherited Methods
- uid
- Type:
String
orInteger
request indentifier
setUID(uid)
Parameters:
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.
Object
toSwagger()
Object
Open API schema representation of the error response
Returns:Object