Skip to main content

expected

Function expected 

Source
pub fn expected(what: &str, value: &Value) -> Error
Expand description

The error for a value that is not of the type that is expected: Expected Nat but found String.