github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+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  }