The point of this module is to be able to include an exn in a type that has to be
sexpable or binable. The Exn_string.t
type is more descriptive than just converting
to a string and is guaranteed to have come from an exn (unless someone abuses the
t_of_sexp
function or something).
This function only needs implementation if t
exposed to be a polymorphic variant.
Despite what the type reads, this does *not* produce a function after reading;
instead it takes the constructor tag (int) before reading and reads the rest of the
variant t
afterwards.