codeError constant
String
const codeError
SuccessMessages Errors Code These constants are used to represent the error codes that can be returned by the CometChatCalls SDK.
CODE_ERROR
- This error code is returned when an unexpected error occurs.CODE_COMETCHATCALLS_SDK_INIT_ERROR
- This error code is returned when the CometChatCalls SDK fails to initialize.CODE_SESSION_ID_NULL
- This error code is returned when the session ID is null.CODE_USER_AUTH_TOKEN_NULL
- This error code is returned when the user auth token is null.
Implementation
///Errors
///Code
/// These constants are used to represent the error codes that can be returned by the CometChatCalls SDK.
///
/// * `CODE_ERROR` - This error code is returned when an unexpected error occurs.
/// * `CODE_COMETCHATCALLS_SDK_INIT_ERROR` - This error code is returned when the CometChatCalls SDK fails to initialize.
/// * `CODE_SESSION_ID_NULL` - This error code is returned when the session ID is null.
/// * `CODE_USER_AUTH_TOKEN_NULL` - This error code is returned when the user auth token is null.
static const String codeError = "ERROR";