Enum EvaluationErrorKind
Enumerated type defining the possible values of ErrorKind.
Namespace: LaunchDarkly.Sdk
Assembly: LaunchDarkly.CommonSdk.dll
Syntax
[JsonConverter(typeof(LdJsonConverters.EvaluationErrorKindConverter))]
public enum EvaluationErrorKind
Remarks
The JSON representation of this type, as used in LaunchDarkly analytics event data, uses
uppercase strings with underscores ("FLAG_NOT_FOUND"
rather than "FlagNotFound"
).
Fields
Name | Description |
---|---|
ClientNotReady | Indicates that the caller tried to evaluate a flag before the client had successfully initialized. |
Exception | Indicates that an unexpected exception stopped flag evaluation; check the log for details. |
FlagNotFound | Indicates that the caller provided a flag key that did not match any known flag. |
MalformedFlag | Indicates that there was an internal inconsistency in the flag data, e.g. a rule specified a nonexistent variation. An error message will always be logged in this case. |
UserNotSpecified | Indicates that the caller passed null for the user parameter, or the user lacked a key. |
WrongType | Indicates that the result value was not of the requested type, e.g. you requested a bool but the value was an int. |