github.com/cloudfoundry-community/cloudfoundry-cli@v6.44.1-0.20240130060226-cda5ed8e89a5+incompatible/actor/actionerror/environment_variable_not_set_error.go (about) 1 package actionerror 2 3 import "fmt" 4 5 // EnvironmentVariableNotSetError is returned when trying to unset env variable 6 // that was not previously set. 7 type EnvironmentVariableNotSetError struct { 8 EnvironmentVariableName string 9 } 10 11 func (e EnvironmentVariableNotSetError) Error() string { 12 return fmt.Sprintf("Env variable %s was not set.", e.EnvironmentVariableName) 13 }