LDErrorKind enum Null safety
Enumerated type defining the defined error cases for an LDEvaluationReason with the kind LDKind.ERROR.
This field can be retrieved from an LDEvaluationReason with the kind LDKind.ERROR through the LDEvaluationReason.errorKind property.
- CLIENT_NOT_READY → const LDErrorKind
Indicates that the caller tried to evaluate a flag before the client had successfully initialized.
- EXCEPTION → const LDErrorKind
Indicates that an unexpected exception stopped flag evaluation.
- FLAG_NOT_FOUND → const LDErrorKind
Indicates that the caller provided a flag key that did not match any known flag.
- MALFORMED_FLAG → const LDErrorKind
Indicates that there was an internal inconsistency in the flag data, e.g. a rule specified a non-existent variation.
- UNKNOWN → const LDErrorKind
Indicates that LaunchDarkly provided an LDErrorKind value that is not supported by this version of the SDK.
- USER_NOT_SPECIFIED → const LDErrorKind
Indicates that the caller passed
userparameter, or the user lacked a key.
→ const List<
A constant List of the values in this enum, in order of their declaration.
- WRONG_TYPE → const LDErrorKind
Indicates that the result value was not of the requested type, e.g. you called
LDClient.boolVariationDetailbut the flag value was an
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
) → String
A string representation of this object. [...]
Object other) → bool
The equality operator. [...]