pub fn validate_database_option_value( key: &str, value: Option<&str>, ) -> Result<(), &'static str>
Validates a database option value, returning the violated constraint on error.