`sig
type t = exn
val pp : Format.formatter -> t -> unit
exception Finally of t * t
exception Reraised of string * t
val raise_without_backtrace : t -> 'a
val reraise : t -> string -> 'a
val reraisef : t -> ('a, unit, string, unit -> 'b) format4 -> 'a
val to_string_mach : t -> string
val protectx : f:('a -> 'b) -> 'a -> finally:('a -> unit) -> 'b
val protect : f:(unit -> 'a) -> finally:(unit -> unit) -> 'a
val handle_uncaught : exit:bool -> (unit -> unit) -> unit
val handle_uncaught_and_exit : (unit -> 'a) -> 'a
val reraise_uncaught : string -> (unit -> 'a) -> 'a
val does_raise : (unit -> 'a) -> bool
val backtrace : unit -> string
val sexp_of_t : t -> Sexplib.Sexp.t
val to_string : exn -> string
val to_string_hum : exn -> string
val unwrap : exn -> exn
module Exn_string = Extended_exn.Exn_string
end`