Enum Class ErrorCode
- 所有已实现的接口:
Serializable,Comparable<ErrorCode>,java.lang.constant.Constable
Response Error Code.
- 作者:
- dongyafei
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明access denied.API will be deprecated.config gray request error.config gray request error.config gray tag v2 rule format invalid.config gray tag v2 rule version invalid.config listener error.config listener is null.data access error.health check still running.healthy param miss.illegal namespace.illegal state.instance error.instance metadata error.instance not found.invalid dataId.MediaType Error.Config use 100001 ~ 100999.namespace already exist.namespace not exist.node down failure.node info error.reach cluster quota.reach group quota.over max content size.reach tenant quota.parameter mismatch.parameter missing.parameter validate error.resource conflict.resource not found.selector error.server error.service already exist.service delete failure.service metadata error.service name error.service not exist.success.'tenant' parameter error.weight error. -
方法概要
-
枚举常量详细资料
-
SUCCESS
success. -
PARAMETER_MISSING
parameter missing. -
ACCESS_DENIED
access denied. -
DATA_ACCESS_ERROR
data access error. -
TENANT_PARAM_ERROR
'tenant' parameter error. -
PARAMETER_VALIDATE_ERROR
parameter validate error. -
MEDIA_TYPE_ERROR
MediaType Error. -
RESOURCE_NOT_FOUND
resource not found. -
RESOURCE_CONFLICT
resource conflict. -
CONFIG_LISTENER_IS_NULL
config listener is null. -
CONFIG_LISTENER_ERROR
config listener error. -
INVALID_DATA_ID
invalid dataId. -
PARAMETER_MISMATCH
parameter mismatch. -
CONFIG_GRAY_OVER_MAX_VERSION_COUNT
config gray request error. -
CONFIG_GRAY_RULE_FORMAT_INVALID
config gray tag v2 rule format invalid. -
CONFIG_GRAY_VERSION_INVALID
config gray tag v2 rule version invalid. -
CONFIG_GRAY_NAME_UNRECOGNIZED_ERROR
config gray request error. -
OVER_CLUSTER_QUOTA
reach cluster quota. -
OVER_GROUP_QUOTA
reach group quota. -
OVER_TENANT_QUOTA
reach tenant quota. -
OVER_MAX_SIZE
over max content size. -
SERVICE_NAME_ERROR
service name error. -
WEIGHT_ERROR
weight error. -
INSTANCE_METADATA_ERROR
instance metadata error. -
INSTANCE_NOT_FOUND
instance not found. -
INSTANCE_ERROR
instance error. -
SERVICE_METADATA_ERROR
service metadata error. -
SELECTOR_ERROR
selector error. -
SERVICE_ALREADY_EXIST
service already exist. -
SERVICE_NOT_EXIST
service not exist. -
SERVICE_DELETE_FAILURE
service delete failure. -
HEALTHY_PARAM_MISS
healthy param miss. -
HEALTH_CHECK_STILL_RUNNING
health check still running. -
ILLEGAL_NAMESPACE
illegal namespace. -
NAMESPACE_NOT_EXIST
namespace not exist. -
NAMESPACE_ALREADY_EXIST
namespace already exist. -
ILLEGAL_STATE
illegal state. -
NODE_INFO_ERROR
node info error. -
NODE_DOWN_FAILURE
node down failure. -
SERVER_ERROR
server error. -
API_DEPRECATED
API will be deprecated. -
METADATA_ILLEGAL
Config use 100001 ~ 100999. -
DATA_VALIDATION_FAILED
-
PARSING_DATA_FAILED
-
DATA_EMPTY
-
NO_SELECTED_CONFIG
-
FUZZY_WATCH_PATTERN_OVER_LIMIT
-
FUZZY_WATCH_PATTERN_MATCH_COUNT_OVER_LIMIT
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
getCode
-
getMsg
-
getErrorCode
-