-module(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(FRP) :: {resolution_success, FRP, reason()} | {resolution_error, error_code(), binary()}. -type error_code() :: provider_not_ready | flag_not_found | parse_error | type_mismatch | targeting_key_missing | invalid_context | general.