Extends
Members
code
Default:
401
message
Default:
'Unauthorized'
Constructor
- options optional
- Type:
Object
- apiCode optional
- Type:
String
new UnauthorizedError(options)
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