Skip to main content

is_policy_lookup_error

Function is_policy_lookup_error 

Source
pub fn is_policy_lookup_error(e: &TempoPrecompileError) -> bool
Expand description

Returns true if the error indicates a failed policy lookup — the policy type is invalid or the policy doesn’t exist.