ConvergenceErrorCodes
ConvergenceErrorCodes: object
AUTHENTICATION_FAILED
AUTHENTICATION_FAILED: string = "authentication_failed"
CHAT_NOT_JOINED
CHAT_NOT_JOINED: string = "chat_not_joined"
CONNECTION_FAILED
CONNECTION_FAILED: string = "connection_failed"
MODEL_ALREADY_EXISTS
MODEL_ALREADY_EXISTS: string = "model_already_exists"
OFFLINE
OFFLINE: string = "offline"
REQUEST_TIMEOUT
REQUEST_TIMEOUT: string = "request_timeout"
The ConvergenceEventListener type defines a function which takes a specific subclass of IConvergenceEvent as a single argument in order to receive fired events. Consumers can use the familiar Node style event registration methods (e.g. addListener, removeListener, on, off, once, etc.) or they can consume events as an observable stream using the
events
method.The subclass of IConvergenceEvent that represents the fired event.