pub fn unexpected_value_error<S: ToString>( expected: &str, actual: Option<S>) -> Error
Format an error for an unexpected value.