public enum AuthToutiaoErrorCode extends Enum<AuthToutiaoErrorCode>
Enum Constant and Description |
---|
EC0
0:正常;
other:调用异常,具体异常内容见
desc |
EC1 |
EC10 |
EC11 |
EC12 |
EC13 |
EC2 |
EC21 |
EC3 |
EC4 |
EC5 |
EC6 |
EC7 |
EC8 |
EC9 |
EC999 |
Modifier and Type | Method and Description |
---|---|
static AuthToutiaoErrorCode |
getErrorCode(int errorCode) |
static AuthToutiaoErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthToutiaoErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthToutiaoErrorCode EC0
desc
public static final AuthToutiaoErrorCode EC1
public static final AuthToutiaoErrorCode EC2
public static final AuthToutiaoErrorCode EC3
public static final AuthToutiaoErrorCode EC4
public static final AuthToutiaoErrorCode EC5
public static final AuthToutiaoErrorCode EC6
public static final AuthToutiaoErrorCode EC7
public static final AuthToutiaoErrorCode EC8
public static final AuthToutiaoErrorCode EC9
public static final AuthToutiaoErrorCode EC10
public static final AuthToutiaoErrorCode EC11
public static final AuthToutiaoErrorCode EC12
public static final AuthToutiaoErrorCode EC13
public static final AuthToutiaoErrorCode EC21
public static final AuthToutiaoErrorCode EC999
public static AuthToutiaoErrorCode[] values()
for (AuthToutiaoErrorCode c : AuthToutiaoErrorCode.values()) System.out.println(c);
public static AuthToutiaoErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static AuthToutiaoErrorCode getErrorCode(int errorCode)
Copyright © 2021. All rights reserved.