Skip to main content
Version: v1.39.0

StageLeftReason

Reasons the stage was disconnected.

Enumeration Members​

FAILED_EXCHANGE​

FAILED_EXCHANGE: "failed-exchange"

Token exchange failed due to validation error. This is treated as an authorization failure and the stage connection is terminated.


PARTICIPANT_DISCONNECTED​

PARTICIPANT_DISCONNECTED: "participant-disconnected"

This token was disconnected by the DisconnectParticipant API. This token can no longer be used.


STAGE_DELETED​

STAGE_DELETED: "stage-deleted"

The stage the token was tied to was deleted. This token can no longer be used.


TOKEN_REUSED​

TOKEN_REUSED: "token-reused"

Token was reused by another stage instance and this instance was disconnected. A token cannot be used to maintain more than one connection to a stage at once.


UNKNOWN​

UNKNOWN: "unknown"

Unknown reason, usually due to the server explicitly disconnecting the connection.


USER_INITIATED​

USER_INITIATED: "user-initiated"

Explicit invocation of leave() by the client.