type t = [
| Angstrom.t |
| `Too_big of int * int |
| `Malicious |
| `Chunk_too_big of Fpath.t * int * int |
| `Malicious_file of Fpath.t |
]
val pp_error : Stdlib.Format.formatter -> [< `Chunk_too_big of Fpath.t * int * int | `Decoder of Angstrom.info | `Decoder_file of Fpath.t * Angstrom.info | `Decoder_stream of Cstruct.t * Angstrom.info | `Malicious | `Malicious_file of Fpath.t | `Result of Cstruct.t * string | `Too_big of int * int ] -> unit
val err_decode : (int * string list * string) -> [> `Decoder of Angstrom.info ]
val with_path : Fpath.t -> [< `Chunk_too_big of Fpath.t * 'a * 'b | `Decoder of Angstrom.info | `Decoder_file of Fpath.t * Angstrom.info | `Decoder_stream of Cstruct.t * Angstrom.info | `Malicious | `Malicious_file of Fpath.t | `Result of Cstruct.t * string | `Too_big of 'a * 'b ] -> [> `Chunk_too_big of Fpath.t * 'a * 'b | `Decoder_file of Fpath.t * Angstrom.info | `Malicious_file of Fpath.t ]