Current section

Files

Jump to
openfeature src openfeature@evaluation.erl
Raw

src/openfeature@evaluation.erl

-module(openfeature@evaluation).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export_type([reason/0, resolution_details/1, error_code/0]).
-type reason() :: disabled |
split |
targeting_match |
default |
unknown |
cached |
static |
error.
-type resolution_details(FRT) :: {resolution_success, FRT, reason()} |
{resolution_error, FRT, reason(), error_code(), binary()}.
-type error_code() :: provider_not_ready |
flag_not_found |
parse_error |
type_mismatch |
targeting_key_missing |
invalid_context |
general.