ErrorCode

Error codes for the Chat SDK.

Entries

Link copied to clipboard

The request cannot be understood

Link copied to clipboard

Invalid request body

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 room has experienced a discontinuity.

Link copied to clipboard

Cannot perform operation because the room is in a failed state.

Link copied to clipboard

Cannot perform operation because the room is in a releasing state.

Link copied to clipboard

Cannot perform operation because the room is in a released state.

Link copied to clipboard

Room was released before the operation could complete.

Link copied to clipboard

Room is not in valid state to perform any realtime 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.