github.com/ablease/cli@v6.37.1-0.20180613014814-3adbb7d7fb19+incompatible/actor/actionerror/process_instance_not_found_error.go (about) 1 package actionerror 2 3 import "fmt" 4 5 // ProcessInstanceNotFoundError is returned when the proccess 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 }