github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+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  }