package commons

  1. Overview
  2. Docs
type t
val catch_all : (unit -> 'a) -> ('a, t) Result.t
val catch : exn -> t
val reraise : t -> 'a
val catch_and_reraise : exn -> 'a
val trace : exn -> t
val create : exn -> Printexc.raw_backtrace -> t
val get_exn : t -> exn
val get_trace : t -> Printexc.raw_backtrace
val to_string : t -> string
OCaml

Innovation. Community. Security.