github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/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  }