package
1.19.0
Repository: https://github.com/cortexproject/cortex.git
Documentation: pkg.go.dev

# Functions

RespondError writes error in Prometheus response format using provided error type and message.
RespondFromGRPCError writes gRPC error in Prometheus response format.

# Constants

StatusClientClosedRequest is the status code for when a client request cancellation of a http request.

# Structs

Response defines the Prometheus response format.