ChatErrorCodes

object ChatErrorCodes

Error codes returned by chat room.

Properties

Link copied to clipboard
const val BAD_REQUEST: Int = 400

The request is malformed or invalid

Link copied to clipboard
const val FORBIDDEN: Int = 403

The connection’s capabilities do not permit this action.

Link copied to clipboard
const val INTERNAL_SERVER_ERROR: Int = 500

This is returned for a general error.

Link copied to clipboard
const val NOT_ACCEPTABLE: Int = 406

The request was rejected during message review.

Link copied to clipboard
const val NOT_FOUND: Int = 404

The room cannot be found (does not exist).

Link copied to clipboard
const val PAYLOAD_TOO_LARGE: Int = 413

The request contains fields that are too large.

Link copied to clipboard
const val TOO_MANY_REQUESTS: Int = 429

The application has exceeded rate limits.

Link copied to clipboard
const val UNAUTHORIZED: Int = 401

The connection has expired.