github.com/cloudfoundry-community/cloudfoundry-cli@v6.44.1-0.20240130060226-cda5ed8e89a5+incompatible/actor/actionerror/feature_flag_not_found_error.go (about)

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // FeatureFlagNotFoundError is returned when a requested feature flag is not found.
     6  type FeatureFlagNotFoundError struct {
     7  	FeatureFlagName string
     8  }
     9  
    10  func (e FeatureFlagNotFoundError) Error() string {
    11  	return fmt.Sprintf("Feature flag not found - Name: '%s'", e.FeatureFlagName)
    12  }