github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+incompatible/actor/actionerror/process_not_found_error.go (about)

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // ProcessNotFoundError is returned when a requested application is not
     6  // found.
     7  type ProcessNotFoundError struct {
     8  	ProcessType string
     9  }
    10  
    11  func (e ProcessNotFoundError) Error() string {
    12  	return fmt.Sprintf("Process %s not found", e.ProcessType)
    13  }