github.com/nimakaviani/cli@v6.37.1-0.20180619223813-e734901a73fa+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  }