Common.ReadErrortype t = | Neg_int8Negative integer was positive or zero
*)| Int_codeUnknown integer code while reading integer
*)| Int_overflowOverflow reading integer
*)| Nat0_codeUnknown integer code while reading natural number
*)| Nat0_overflowOverflow reading natural number
*)| Int32_codeUnknown integer code while reading 32bit integer
*)| Int64_codeUnknown integer code while reading 64bit integer
*)| Nativeint_codeUnknown integer code while reading native integer
*)| Unit_codeIllegal unit value
*)| Bool_codeIllegal boolean value
*)| Option_codeIllegal option code
*)| String_too_longString too long
*)| Variant_tagUntagged integer encoding for variant tag
*)| Array_too_longArray too long
*)| List_too_long of {}List too long
*)| Hashtbl_too_longHashtable too long
*)| Sum_tag of stringIllegal sum tag for given type
*)| Variant of stringIllegal variant for given type
*)| Poly_rec_bound of stringAttempt to read data bound through polymorphic record fields
*)| Variant_wrong_type of stringUnexpected attempt to read variant with given non-variant type
*)| Silly_type of stringSilly_type type_name indicates unhandled but silly case where a type of the sort type 'a type_name = 'a is used with a polymorphic variant as type parameter and included in another polymorphic variant type.
| Empty_type of stringAttempt to read data that corresponds to an empty type.
*)val to_string : t -> stringto_string err