public static enum EvaluationReason.ErrorKind extends java.lang.Enum<EvaluationReason.ErrorKind>
EvaluationReason.getErrorKind().| Enum Constant and Description |
|---|
CLIENT_NOT_READY
Indicates that the caller tried to evaluate a flag before the client had successfully initialized.
|
EXCEPTION
Indicates that an unexpected exception stopped flag evaluation.
|
FLAG_NOT_FOUND
Indicates that the caller provided a flag key that did not match any known flag.
|
MALFORMED_FLAG
Indicates that there was an internal inconsistency in the flag data, e.g.
|
USER_NOT_SPECIFIED
Indicates that the caller passed
null for the user parameter, or the user lacked a key. |
WRONG_TYPE
Indicates that the result value was not of the requested type, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static EvaluationReason.ErrorKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EvaluationReason.ErrorKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EvaluationReason.ErrorKind CLIENT_NOT_READY
public static final EvaluationReason.ErrorKind FLAG_NOT_FOUND
public static final EvaluationReason.ErrorKind MALFORMED_FLAG
public static final EvaluationReason.ErrorKind USER_NOT_SPECIFIED
null for the user parameter, or the user lacked a key.public static final EvaluationReason.ErrorKind WRONG_TYPE
boolVariationDetail
but the value was an integer.public static final EvaluationReason.ErrorKind EXCEPTION
EvaluationReason.getException().public static EvaluationReason.ErrorKind[] values()
for (EvaluationReason.ErrorKind c : EvaluationReason.ErrorKind.values()) System.out.println(c);
public static EvaluationReason.ErrorKind valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null