public enum KetaErrorType extends Enum<KetaErrorType>
| Modifier and Type | Method and Description |
|---|---|
io.grpc.Status.Code |
getCode() |
String |
getDescription() |
io.grpc.StatusRuntimeException |
toException() |
io.grpc.Status |
toStatus() |
static KetaErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KetaErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KetaErrorType EmptyKey
public static final KetaErrorType KeyNotFound
public static final KetaErrorType ValueProvided
public static final KetaErrorType LeaseProvided
public static final KetaErrorType TooManyOps
public static final KetaErrorType DuplicateKey
public static final KetaErrorType Compacted
public static final KetaErrorType FutureRev
public static final KetaErrorType NoSpace
public static final KetaErrorType LeaseNotFound
public static final KetaErrorType LeaseExist
public static final KetaErrorType LeaseTTLTooLarge
public static final KetaErrorType MemberExist
public static final KetaErrorType PeerURLExist
public static final KetaErrorType MemberNotEnoughStarted
public static final KetaErrorType MemberBadURLs
public static final KetaErrorType MemberNotFound
public static final KetaErrorType MemberNotLearner
public static final KetaErrorType LearnerNotReady
public static final KetaErrorType TooManyLearners
public static final KetaErrorType RequestTooLarge
public static final KetaErrorType RequestTooManyRequests
public static final KetaErrorType RootUserNotExist
public static final KetaErrorType RootRoleNotExist
public static final KetaErrorType UserAlreadyExist
public static final KetaErrorType UserEmpty
public static final KetaErrorType UserNotFound
public static final KetaErrorType RoleAlreadyExist
public static final KetaErrorType RoleNotFound
public static final KetaErrorType RoleEmpty
public static final KetaErrorType AuthFailed
public static final KetaErrorType PermissionDenied
public static final KetaErrorType RoleNotGranted
public static final KetaErrorType PermissionNotGranted
public static final KetaErrorType AuthNotEnabled
public static final KetaErrorType InvalidAuthToken
public static final KetaErrorType InvalidAuthMgmt
public static final KetaErrorType NoLeader
public static final KetaErrorType NotLeader
public static final KetaErrorType LeaderChanged
public static final KetaErrorType NotCapable
public static final KetaErrorType Stopped
public static final KetaErrorType Timeout
public static final KetaErrorType TimeoutDueToLeaderFail
public static final KetaErrorType TimeoutDueToConnectionLost
public static final KetaErrorType Unhealthy
public static final KetaErrorType Corrupt
public static final KetaErrorType ErrGPRCNotSupportedForLearner
public static final KetaErrorType BadLeaderTransferee
public static final KetaErrorType ClusterVersionUnavailable
public static final KetaErrorType WrongDowngradeVersionFormat
public static final KetaErrorType InvalidDowngradeTargetVersion
public static final KetaErrorType DowngradeInProcess
public static final KetaErrorType NoInflightDowngrade
public static final KetaErrorType Starting
public static KetaErrorType[] values()
for (KetaErrorType c : KetaErrorType.values()) System.out.println(c);
public static KetaErrorType 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 io.grpc.Status.Code getCode()
public String getDescription()
public io.grpc.Status toStatus()
public io.grpc.StatusRuntimeException toException()
Copyright © 2021. All rights reserved.