Module Ocamlformat_stdlib.Exn

type t = exn
val sexp_of_t : t -> Sexplib0.Sexp.t
val pp : Format.formatter -> t -> unit
exception Finally of t * t
exception Reraised of string * t
val create_s : Sexplib0.Sexp.t -> t
val raise_without_backtrace : t -> 'a
val raise_with_original_backtrace : t -> Base__.Import.Stdlib.Printexc.raw_backtrace -> 'a
val reraise : t -> string -> 'a
val reraisef : t -> ('a, unit, string, unit -> 'b) format4 -> 'a
val to_string : t -> string
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 is_phys_equal_most_recent : t -> bool
val initialize_module : unit -> unit
module Private : sig ... end