Core
Framework v2.x
2

UnauthorizedError #

Inherits from KuzzleError.

This error object is used when an authentication attempt fails, or if an action cannot be performed without being authenticated.

constructor(message: string, id?: string, code?: number)

ArgumentTypeDescription
message
string
Error message
id
string
(optional) Error unique name
code
number
(optional) Error unique code