Skip to main content

Module error_codes

Module error_codes 

Source
Expand description

Codes carried by Centrifugo command errors.

Constantsยง

ALREADY_SUBSCRIBED
Duplicate subscription.
BAD_REQUEST
Malformed command.
EXPIRED
Requested resource expired.
INTERNAL
Internal server failure.
LIMIT_EXCEEDED
Operation-specific limit exceeded.
METHOD_NOT_FOUND
Unknown RPC method.
NOT_AVAILABLE
Requested operation is unavailable.
PERMISSION_DENIED
Insufficient permission for the operation.
TOKEN_EXPIRED
Connection or subscription token expired.
TOO_MANY_REQUESTS
Server rate limit exceeded.
UNAUTHORIZED
Missing or invalid authentication.
UNKNOWN_CHANNEL
Unknown channel.
UNRECOVERABLE_POSITION
Stream position is unrecoverable; client must resubscribe from scratch.