pub fn validate_length( field: &'static str, value: &str, min: Option<usize>, max: Option<usize>, ) -> Result<(), CoolError>