enum
OpenFeature::ErrorCode
Defined in:
openfeature/error.crEnum Members
-
PROVIDER_NOT_READY =
0 -
The value was resolved before the provider was ready.
-
FLAG_NOT_FOUND =
1 -
The flag could not be found.
-
PARSE_ERROR =
2 -
An error was encountered parsing data, such as a flag configuration.
-
TYPE_MISMATCH =
3 -
The type of the flag value does not match the expected type.
-
TARGETING_KEY_MISSING =
4 -
The provider requires a targeting key and one was not provided in the evaluation context.
-
INVALID_CONTEXT =
5 -
The evaluation context does not meet provider requirements.
-
GENERAL =
6 -
The error was for a reason not enumerated above.
Instance Method Summary
-
#flag_not_found?
Returns
trueif this enum value equalsFLAG_NOT_FOUND -
#general?
Returns
trueif this enum value equalsGENERAL -
#invalid_context?
Returns
trueif this enum value equalsINVALID_CONTEXT -
#parse_error?
Returns
trueif this enum value equalsPARSE_ERROR -
#provider_not_ready?
Returns
trueif this enum value equalsPROVIDER_NOT_READY -
#targeting_key_missing?
Returns
trueif this enum value equalsTARGETING_KEY_MISSING -
#type_mismatch?
Returns
trueif this enum value equalsTYPE_MISMATCH