ErrorCategory 枚举

定义

Defines values for ErrorCategory.

public enum ErrorCategory
继承
java.lang.Object
java.lang.Enum<ErrorCategory>
ErrorCategory

字段

SERVER_ERROR

The error is due to an internal server issue.

USER_ERROR

The error is due to a user issue, such as misconfiguration.

方法

fromString(String value)

Parses a serialized value to a ErrorCategory instance.

public static ErrorCategory fromString(String value)

参数

value
String

the serialized value to parse.

返回

the parsed ErrorCategory object, or null if unable to parse.

toString()

public String toString()

参数

value
String

the serialized value to parse.

返回

String

适用于