ErrorCode

Error codes for the Chat SDK.

Entries

Link copied to clipboard

The request was invalid.

Link copied to clipboard

Invalid argument provided.

Link copied to clipboard

Invalid client ID.

Link copied to clipboard

Resource has been disposed.

Link copied to clipboard

The message was rejected before publishing by a rule on the chat room.

Link copied to clipboard

The message was rejected before publishing by a moderation rule on the chat room.

Link copied to clipboard

The client is not connected to Ably.

Link copied to clipboard

Could not re-enter presence automatically after a room re-attach occurred.

Link copied to clipboard

The room has experienced a discontinuity.

Link copied to clipboard

Room was released before the operation could complete.

Link copied to clipboard

A room already exists with different options.

Link copied to clipboard

Feature is not enabled in room options.

Link copied to clipboard

Listener has not been subscribed yet.

Link copied to clipboard

Channel serial is not defined when expected.

Link copied to clipboard

Channel options cannot be modified after the channel has been requested.

Link copied to clipboard

Cannot perform operation because the room is in an invalid state.

Link copied to clipboard

Failed to enforce sequential execution of the operation.

Link copied to clipboard

Internal error

Properties

Link copied to clipboard
val code: Int
Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): ErrorCode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.