code.cloudfoundry.org/cli@v7.1.0+incompatible/actor/actionerror/deployment_not_found_error.go (about)

     1  package actionerror
     2  
     3  // ActiveDeploymentNotFoundError is an error wrapper that represents the case
     4  // when the deployment is not found.
     5  type ActiveDeploymentNotFoundError struct {
     6  }
     7  
     8  // Error method to display the error message.
     9  func (e ActiveDeploymentNotFoundError) Error() string {
    10  	return "No active deployment found for app."
    11  }