Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration AttributeOperationError

Index

Enumeration members

ATTRIBUTE_OPERATION_ERR_FAILURE

ATTRIBUTE_OPERATION_ERR_FAILURE: = 2

2: Common failure. The attribute operation fails.

ATTRIBUTE_OPERATION_ERR_INVALID_ARGUMENT

ATTRIBUTE_OPERATION_ERR_INVALID_ARGUMENT: = 3

3: The argument that you put for this attribute operation is invalid. For example, you cannot set a user or channel attribute as "".

ATTRIBUTE_OPERATION_ERR_SIZE_OVERFLOW

ATTRIBUTE_OPERATION_ERR_SIZE_OVERFLOW: = 4

4: The attribute size exceeds the limit.

  • For user attribute operations: The user's overall attribute size would exceed the limit of 16 KB, one of the user's attributes would exceeds 8 KB in size, or the number of this user's attributes would exceed 32 after this attribute operation.
  • For channel attribute operations: The channel's overall attribute size would exceed the limit of 32 KB, one of the channel attributes would exceed 8 KB in size, or the number of this channel's attributes would exceed 32 after this attribute operation.

ATTRIBUTE_OPERATION_ERR_TIMEOUT

ATTRIBUTE_OPERATION_ERR_TIMEOUT: = 7

7: A timeout occurs during the attribute operation. The current timeout is set as five seconds. The current login timeout is set as six seconds. Possible reasons: The user is in the ABORTED or RECONNECTING state.

ATTRIBUTE_OPERATION_ERR_TOO_OFTEN

ATTRIBUTE_OPERATION_ERR_TOO_OFTEN: = 5

5: The method call frequency exceeds the limit.

ATTRIBUTE_OPERATION_ERR_USER_NOT_FOUND

ATTRIBUTE_OPERATION_ERR_USER_NOT_FOUND: = 6

6: The specified user is not found, either because the user is offline or because the user does not exist.

ATTRIBUTE_OPERATION_ERR_USER_NOT_LOGGED_IN

ATTRIBUTE_OPERATION_ERR_USER_NOT_LOGGED_IN: = 102

102: The user does not call the login method, or the method call of login does not succeed before the attribute operation.