RealTimeConnectionErrorCode
Codes carried by RealTimeConnectionError.
Enumeration Members
CONNECTION_FAILED
CONNECTION_FAILED:
1306
The connection could not be established or was lost after retries were exhausted. Thrown by connect() and reported with the DISCONNECTED state change. Check network connectivity and call connect() again.
CONNECTION_NOT_RECOGNIZED
CONNECTION_NOT_RECOGNIZED:
1312
The RealTimeConnection instance passed to a Stage was not created by this SDK instance. Thrown by the Stage constructor. Multiple SDKs may be loaded on the page. Ensure only one copy of the SDK is loaded to prevent conflicting RealTimeConnection classes.
CONNECTION_TOKEN_EXPIRED
CONNECTION_TOKEN_EXPIRED:
1054
The connection token has expired. Thrown by the RealTimeConnection constructor and by connect(). Create a new connection token and construct a new connection.
CONNECTION_TOKEN_INVALID
CONNECTION_TOKEN_INVALID:
1053
The connection token is malformed. Thrown by the RealTimeConnection constructor. Create a valid connection token and construct a new connection.