type t = [
| `Decoder of info |
| `Result of Cstruct.t * string |
| `Decoder_stream of Cstruct.t * info |
| `Decoder_file of Fpath.t * info |
]
val pp_error : Stdlib.Format.formatter -> [< `Decoder of info | `Decoder_file of Fpath.t * info | `Decoder_stream of Cstruct.t * info | `Result of Cstruct.t * string ] -> unit
val err_decode : (int * string list * string) -> [> `Decoder of info ]
val err_decode_stream : 'a -> (int * string list * string) -> [> `Decoder_stream of 'a * info ]
val err_decode_file : 'a -> (int * string list * string) -> [> `Decoder_file of 'a * info ]