allErrorCodes property

List<String> get allErrorCodes

Returns a list of all defined error codes for validation purposes. This is useful for property-based testing to verify error code consistency.

Implementation

static List<String> get allErrorCodes => [
  codeError,
  codeCometChatCallsSDKInitError,
  codeAppIdNull,
  codeAppIdEmpty,
  codeRegionNull,
  codeRegionEmpty,
  codeInitializationFailed,
  codeUidNull,
  codeUidEmpty,
  codeUidHasSpace,
  codeAuthKeyNull,
  codeAuthKeyEmpty,
  codeAuthKeyHasSpace,
  codeAuthTokenNull,
  codeUserAuthTokenNull,
  codeAuthTokenEmpty,
  codeAuthTokenHasSpace,
  errorAuthTokenNotFound,
  errorLoginInProgress,
  errorLogOutFail,
  errorUserNotLoggedIn,
  errorAuthenticationFailed,
  codeSessionIdNull,
  codeSessionIdEmpty,
  codeCallTokenNull,
  codeCallTokenEmpty,
  codeCallSettingsNull,
  codeSessionSettingsNull,
  codeInvalidParameter,
  codeParticipantIdNull,
  errJsonException,
  errNetworkError,
  errNetworkTimeout,
  errServerError,
  errConnectionLost,
  errSessionError,
  errSessionNotActive,
  errSessionJoinFailed,
  errSessionLeaveFailed,
  errTokenGenerationFailed,
  errTokenVerificationFailed,
  errorUnhandledException,
  codePlatformNotSupported,
  codePlatformChannelError,
  errorMuteAudio,
  errorUnMuteAudio,
  errorPauseVideo,
  errorResumeVideo,
  errorEnablePictureInPictureLayout,
  errorDisablePictureInPictureLayout,
  errorLeaveSession,
  errorRaiseHand,
  errorLowerHand,
  errorMuteParticipant,
  errorPauseParticipantVideo,
  errorPinParticipant,
  errorUnPinParticipant,
  errorSetAudioMode,
  errorSetLayout,
  errorSwitchCamera,
  errorHideSettingsPanel,
  errorStartRecording,
  errorStopRecording,
  errorScreenShare,
];