github.com/cloudfoundry-community/cloudfoundry-cli@v6.44.1-0.20240130060226-cda5ed8e89a5+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  }