pub fn validate_environment(environment: &str) -> Result<(), InvalidEnvironment>
Expand description

Given a string checks if the environment name is generally valid.