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

     1  package actionerror
     2  
     3  // ServiceInstanceNotShareableError is returned when either the
     4  // service_instance_sharing feature flag is disabled or the service broker has
     5  // disabled sharing
     6  type ServiceInstanceNotShareableError struct {
     7  	FeatureFlagEnabled          bool
     8  	ServiceBrokerSharingEnabled bool
     9  }
    10  
    11  func (e ServiceInstanceNotShareableError) Error() string {
    12  	return "Service instance sharing is not enabled"
    13  }