module Exn:sig
..end
Core.Exn
.val to_string : exn -> string
to_string
function is slightly tweaked to avoid escaping the string
content of Failure
.val to_string_hum : exn -> string
to_string
target more at user
than developers (Failure s
is just printed as s
)val unwrap : exn -> exn
unwrap e
Tries to unwrap an exception to find the original cause of the error
(Finally for instance has the propency to burry exception...). This is
useful when matching on exceptions.
module Exn_string:sig
..end