Skip to main content

check_inputs

Function check_inputs 

Source
pub fn check_inputs(
    inputs: &[(&str, Option<&JsonText>)],
) -> Result<(), FormInputError>
Expand description

Check named caller values in order; absent values are skipped. Invalid text is INVALID_FORM_INPUT naming the value and its path, and a value beyond its limits is INVALID_FORM_INPUT naming the value. Each value’s first failure decides its error.