ErrorCode class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- errorAuthErr → const String
-
Authentication error — invalid or expired auth token.
Android Reference:
CometChatConstants.Errors.AUTH_ERR - errorBuilderNotBuilt → const String
-
Builder configuration error — fetchNext() called without build().
Android Reference:
CometChatConstants.Errors.ERROR_BUILDER_NOT_BUILT - errorEmptyAskBotQuestion → const String
- errorEmptyBotID → const String
- errorEmptyExtensionEndpoint → const String
- errorEmptyExtensionMethod → const String
- errorEmptyExtensionSlug → const String
- errorEmptyFeature → const String
- errorEmptyPushToken → const String
- errorEmptyReason → const String
- errorFileCountExceeded → const String
-
More files than
file.count.maxwere supplied to a single upload group. Not retryable (reported viaonFileError) — remove the extra files. - errorFileSizeExceeded → const String
-
A file exceeds the per-file
file.size.maxlimit. Not retryable (reported viaonFileError). - errorFileTotalSizeExceeded → const String
-
The sum of attachment sizes in a group exceeds the per-message total-size
cap. Not retryable (reported via
onFileError). - errorInvalidFileObject → const String
-
The file object is invalid (missing/zero size, or neither path nor bytes).
Not retryable (reported via
onFileError). - errorInvalidGuid → const String
-
Invalid GUID.
Android Reference:
CometChatConstants.Errors.ERROR_INVALID_GUID - errorInvalidMessageId → const String
-
Invalid message ID.
Android Reference:
CometChatConstants.Errors.ERROR_INVALID_MESSAGE_ID - errorInvalidParameter → const String
- errorInvalidReceiverId → const String
- errorInvalidReceiverType → const String
- errorInvalidTimezone → const String
- errorLimitExceeded → const String
-
Limit exceeds maximum allowed value.
Android Reference:
CometChatConstants.Errors.ERROR_LIMIT_EXCEEDED - errorNonPositiveLimit → const String
-
Limit must be a positive number.
Android Reference:
CometChatConstants.Errors.ERROR_NON_POSITIVE_LIMIT - errorNotFound → const String
-
Resource not found — feed item may have been retracted.
Android Reference:
CometChatConstants.Errors.NOT_FOUND - errorPresignedUrlExpired → const String
-
The pre-signed upload form expired before/while uploading.
Retryable (reported via
onFileFailure); retry re-presigns. - errorPresignFailed → const String
-
Generating the pre-signed upload form failed.
Retryable (reported via
onFileFailure). - errorRateLimited → const String
-
Rate limited — too many requests. Consumer should retry after delay.
Android Reference:
CometChatConstants.Errors.RATE_LIMITED - errorRequestInProgress → const String
-
Request already in progress.
Android Reference:
CometChatConstants.Errors.ERROR_REQUEST_IN_PROGRESS - errorS3UploadFailed → const String
-
Direct-to-storage upload failed (storage 5xx / policy reject / 4xx).
Retryable (reported via
onFileFailure). - errorUnhandledException → const String
- errorUploadCancelled → const String
- The upload was cancelled by the caller.
- errorUploadStalled → const String
-
The upload made no progress within the stall timeout.
Retryable (reported via
onFileFailure). - errorUserNotLoggedIn → const String