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