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

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // ApplicationNotStartedError is returned when trying to ssh to an application that is not STARTED.
     6  type ApplicationNotStartedError struct {
     7  	Name string
     8  }
     9  
    10  func (e ApplicationNotStartedError) Error() string {
    11  	return fmt.Sprintf("Application '%s' is not in the STARTED state", e.Name)
    12  }