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

     1  package actionerror
     2  
     3  // HTTPHealthCheckInvalidError is returned when an HTTP endpoint is used with a
     4  // health check type that is not HTTP.
     5  type HTTPHealthCheckInvalidError struct {
     6  }
     7  
     8  func (e HTTPHealthCheckInvalidError) Error() string {
     9  	return "Health check type must be 'http' to set a health check HTTP endpoint"
    10  }