Function validate_non_empty
Source pub fn validate_non_empty(value: &str, field_name: &str) -> Result<()>
Expand description
Validates that a string is not empty after trimming
§Arguments
value
- The string to validate
field_name
- Name of the field for error messages
§Returns
Result indicating whether the string is valid