pub fn validate_interpolation_places_on_custom_pattern( format: &String, params_len: usize, custom_pattern: &str, ) -> Result<()>