enum OpenFeature::ErrorCode

Defined in:

openfeature/error.cr

Enum 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

Instance Method Detail

def flag_not_found? #

[View source]
def general? #

[View source]
def invalid_context? #

[View source]
def parse_error? #

[View source]
def provider_not_ready? #

[View source]
def targeting_key_missing? #

[View source]
def type_mismatch? #

[View source]