github.com/Thanhphan1147/cloudfoundry-cli@v7.1.0+incompatible/actor/actionerror/process_instance_not_found_error.go (about)

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // ProcessInstanceNotFoundError is returned when the process type or process instance cannot be found
     6  type ProcessInstanceNotFoundError struct {
     7  	ProcessType   string
     8  	InstanceIndex uint
     9  }
    10  
    11  func (e ProcessInstanceNotFoundError) Error() string {
    12  	return fmt.Sprintf("Instance %d of process %s not found", e.InstanceIndex, e.ProcessType)
    13  }