github.com/DaAlbrecht/cf-cli@v0.0.0-20231128151943-1fe19bb400b9/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 }