public class AuthErrorCode extends Object
| Modifier and Type | Field and Description |
|---|---|
static AuthErrorCode |
ACCESS_DENIED |
static AuthErrorCode |
AUTHORIZATION_PENDING |
static AuthErrorCode |
EXPIRED_TOKEN |
static AuthErrorCode |
SLOW_DOWN |
| Modifier and Type | Method and Description |
|---|---|
static AuthErrorCode |
fromString(String value)
从字符串创建错误码实例
|
String |
getValue()
获取错误码的值,用于 JSON 序列化
|
String |
toString() |
public static final AuthErrorCode AUTHORIZATION_PENDING
public static final AuthErrorCode SLOW_DOWN
public static final AuthErrorCode ACCESS_DENIED
public static final AuthErrorCode EXPIRED_TOKEN
public String getValue()
public static AuthErrorCode fromString(String value)
value - 错误码字符串值IllegalArgumentException - 如果找不到对应的错误码Copyright © 2025. All rights reserved.