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)
Argument | Type | Description |
---|---|---|
message | string | Error message |
id | string | (optional) Error unique name |
code | number | (optional) Error unique code |
Edit this page on Github(opens new window)