ErrorInfo class
Representation of a Conversation Error Object.
- Implemented types
Constructors
- ErrorInfo.new(int code, String? message, int? status)
Properties
- code → int
-
Code indicator, should match any of the ErrorInfo static properties.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
Message containing a short explanation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int?
-
Get error category as a classifier.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CANNOT_GET_MESSAGE_BY_INDEX → const int
- This code is used by Conversation.getMessageByIndex if general error occurs and message could not be retrieved.
- CHANNEL_NOT_SYNCHRONIZED → const int
- This code is signaled when an attempt is made to query channel members or messages without synchronizing first.
- CLIENT_ERROR → const int
- This status is set if error occurred in the SDK and is not related to network operations.
- MISMATCHING_TOKEN_UPDATE → const int
- This code is used by ConversationClient.updateToken if updated token does not match the original token.