Sexp_conv.Exn_converterval add :
?printexc:bool ->
?finalise:bool ->
extension_constructor ->
(exn -> Sexp.t) ->
unitadd constructor sexp_of_exn registers exception S-expression converter sexp_of_exn for exceptions with the given constructor.
NOTE: finalise is ignored, and provided only for backward compatibility.
module For_unit_tests_only : sig ... end