Skip to main content

check_explicit_arity

Function check_explicit_arity 

Source
pub fn check_explicit_arity(
    name: &str,
    required: usize,
    total: usize,
    given: usize,
) -> Result<()>
Expand description

The registry-driven explicit-arity check — one half of the runtime CALL contract ([CallSpec::check_contract]), which every dispatch path (the generic registry path, the ontology divert, the vector and fulltext scans) reads: an explicit call passes between required and total arguments. (The facade’s compile-time validate_calls already enforces the same contract.)