Module Piaf.Error

type common = [
| `Exn of exn
| `Protocol_error of H2.Error_code.t * string
| `Msg of string
]
type client = [
| `Invalid_response_body_length of H2.Status.t * Headers.t
| `Malformed_response of string
| `Connect_error of string
| common
]
type server = [
| `Bad_gateway
| `Bad_request
| `Internal_server_error
| common
]
type t = [
| common
| client
| server
]
val to_string : t -> string
val pp_hum : Stdlib.Format.formatter -> t -> unit