github.com/randomtask1155/cli@v6.41.1-0.20181227003417-a98eed78cbde+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  }