Qoic.ErrorDecoding errors.
type kind = | Image_too_large of uint32 * uint32 |
| Invalid_channels of int |
| Invalid_color_space of int |
| Invalid_end_marker |
| Invalid_image |
| Not_a_qoi_file |
| Truncated_chunk_stream |
The type for kinds of decoding errors.
val pp_kind : Stdlib.Format.formatter -> kind -> unitpp_kind ppf k formats k in english on ppf.
type t = kind * intThe type for errors. The kind of error and the byte offset where it occured.
val pp : Stdlib.Format.formatter -> t -> unitpp ppf e formats e in english on ppf.
val to_string : t -> stringto_string e is an english error message for e.