(* | Negative integer was positive or zero | *) | |
(* | Unknown integer code while reading integer | *) | |
(* | Overflow reading integer | *) | |
(* | Unknown integer code while reading natural number | *) | |
(* | Overflow reading natural number | *) | |
(* | Unknown integer code while reading 32bit integer | *) | |
(* | Unknown integer code while reading 64bit integer | *) | |
(* | Unknown integer code while reading native integer | *) | |
(* | Illegal unit value | *) | |
(* | Illegal boolean value | *) | |
(* | Illegal option code | *) | |
(* | String too long | *) | |
(* | Untagged integer encoding for variant tag | *) | |
(* | Array too long | *) | |
(* | Hashtable too long | *) | |
(* | Illegal sum tag for given type | *) | |
(* | Illegal variant for given type | *) | |
(* | Attempt to read data bound through polymorphic record fields | *) | |
(* | Unexpected attempt to read variant with given non-variant type | *) | |
(* |
Silly_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.
|
*) | |
(* | Attempt to read data that corresponds to an empty type. | *) |
to_string err
err
.