SDKErrorCode class

SDK Error Codes

Constructors

SDKErrorCode()

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

alreadyAFriendRelationship → const int
Already in a friend relationship, no need to reapply
connectionsExceedsMaximumLimit → const int
Number of Connections Exceeds Gateway's Maximum Limit
contextTimeoutError → const int
Context Timeout Error, usually when the user has already logged out
databaseRecordNotFound → const int
Database Record Not Found
duplicateDatabasePrimaryKey → const int
Duplicate Database Primary Key
fileUploadExpired → const int
File Upload Expired
groupAlreadyExists → const int
Group already exists
groupApplicationHasBeenProcessed → const int
Group application has already been processed, no need to process it again
groupDisbanded → const int
Group has been disbanded
groupHasBeenBanned → const int
The group has been banned from posting
groupIDNotExist → const int
Group ID does not exist
groupNotExis → const int
Group does not exist
handshakeParameterError → const int
Handshake Parameter Error
hasBeenBlocked → const int
You have been blocked by the other party
insufficientPermissions → const int
Insufficient Permissions, typically when the token in the header is incorrect or when trying to perform unauthorized actions
licenseExpired → const int
Authorization has expired
messageContentTypeNotSupported → const int
Message content type not supported
messageDecodingFailed → const int
Message decoding failed
messageDecompressionFailed → const int
Message decompression failed
messageHasBeenRetracted → const int
This message has been retracted
messageReadFunctionIsTurnedOff → const int
Message read function is turned off
messageRepeated → const int
Message sent multiple times
networkRequestError → const int
Network Request Error
networkWaitTimeoutError → const int
Network Waiting Timeout Error
notAddMyselfAsAFriend → const int
Cannot add yourself as a friend
notFriend → const int
The other party is not your friend
parameterError → const int
Parameter Error
refuseToAddFriends → const int
This user has set not to be added
repeatLogin → const int
User is attempting to log in again, check the login status to avoid duplicate logins
resourceNotLoaded → const int
Resources not loaded completely, usually uninitialized or login hasn't completed
sdkInternalError → const int
SDK Internal Error, check the error message for details
serverInternalError → const int
Server Internal Error, usually an internal network error, check if server nodes are running correctly
serverParameterError → const int
Parameter Error on the server, check if body and header parameters are correct
thekickedOutTokenIsInvalid → const int
The kicked-out token is invalid
tokenFormatError → const int
Token format error
tokenHasExpired → const int
Token has expired
tokenHasNotYetTakenEffect → const int
Token has not yet taken effect
tokenInvalid → const int
Invalid token
tokenNotExist → const int
Token does not exist
unknownError → const int
Unknown Error, check the error message for details
unknownTokenError → const int
Unknown token error
unsupportedLongConnection → const int
Unsupported long connection binary protocol
unsupportedSessionOperation → const int
Unsupported session operation
uploadFileNotExist → const int
The file to upload does not exist
userAlreadyRegistered → const int
User is already registered
userHasLoggedOut → const int
User has already logged out
userIDNotExist → const int
User ID does not exist
userIsNotInGroup → const int
User is not in the group
userNotExistOrNotRegistered → const int
User does not exist or is not registered
wrongGroupType → const int
Group type is incorrect
youHaveBeenBanned → const int
You have been banned from speaking in the group