Function sentry_release_parser::validate_environment
source · pub fn validate_environment(environment: &str) -> Result<(), InvalidEnvironment>
Expand description
Given a string checks if the environment name is generally valid.