github.com/cloudfoundry-community/cloudfoundry-cli@v6.44.1-0.20240130060226-cda5ed8e89a5+incompatible/api/cloudcontroller/ccerror/service_instance_not_found_error.go (about)

     1  package ccerror
     2  
     3  import "fmt"
     4  
     5  // ServiceInstanceNotFoundError is returned when an endpoint cannot find the
     6  // specified service instance
     7  type ServiceInstanceNotFoundError struct {
     8  	Name, SpaceGUID string
     9  }
    10  
    11  func (e ServiceInstanceNotFoundError) Error() string {
    12  	return fmt.Sprintf("Service instance '%s' not found in space '%s'.", e.Name, e.SpaceGUID)
    13  }