Skip to main content

function_arity_error

Function function_arity_error 

Source
pub fn function_arity_error(
    name: &str,
    min: usize,
    max: Option<usize>,
    got: usize,
) -> DogeError
Expand description

The error an indirect call raises when the argument count is wrong, worded like the compiler’s user-function arity message. max is None when the function is variadic.