Core
Framework v2.x
2

PreconditionError #

Inherits from KuzzleError.

This error object is used when there are unmet prerequisites.

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

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