package commons

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

Innovation. Community. Security.