pub fn unexpected_value_error<S: ToString>(
    expected: &str,
    actual: Option<S>
) -> Error
Expand description

Format an error for an unexpected value.