LoginErrorCode enum

Inheritance
Available extensions

Values

LOGIN_ERROR_CODE_SUCCESS → const LoginErrorCode

@brief 调用 login 方法登录成功。

LOGIN_ERROR_CODE_INVALID_TOKEN → const LoginErrorCode

@brief 调用 login 方法时使用的 Token 无效或过期失效。需要用户重新获取 Token。

LOGIN_ERROR_CODE_LOGIN_FAILED → const LoginErrorCode

@brief 登录错误。
调用 login 方法时发生未知错误导致登录失败,需要重新登录。

LOGIN_ERROR_CODE_INVALID_USER_ID → const LoginErrorCode

@brief 调用 login 方法时传入的用户 ID 有问题。

LOGIN_ERROR_CODE_SERVER_ERROR → const LoginErrorCode

@brief 调用 login 登录时服务器错误。

Properties

$value → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

values → const List<LoginErrorCode>
A constant List of the values in this enum, in order of their declaration.