errorMessageOrNull
Returns an error message string if there are errors, or null if validation passed. Useful for returning error results without throwing exceptions.
Returns an error message string if there are errors, or null if validation passed. Useful for returning error results without throwing exceptions.