pub fn validate_name(name: &str) -> Result<String, NameError>
Checks whether a given package name is acceptable or not