Skip to main content

schema_failure_decision

Function schema_failure_decision 

Source
pub fn schema_failure_decision(
    fail_open: bool,
    failure: SchemaFailureKind,
) -> SchemaFailureDecision
Expand description

Apply the configured fail-open policy to a classified registry failure.

Only a transient failure may be admitted, and only when the operator opted into fail-open behavior. Definite and malformed answers always fail closed.