package moonpool

  1. Overview
  2. Docs

Module Moonpool.Exn_btSource

Exception with backtrace.

  • since 0.6

An exception bundled with a backtrace

Sourceval exn : t -> exn
Sourceval make : exn -> Printexc.raw_backtrace -> t

Trivial builder

Sourceval get : exn -> t

get exn is make exn (get_raw_backtrace ())

Sourceval get_callstack : int -> exn -> t
Sourceval raise : t -> 'a

Raise the exception with its save backtrace

Sourceval show : t -> string

Simple printing

Sourceval pp : Format.formatter -> t -> unit
Sourcetype nonrec 'a result = ('a, t) result
OCaml

Innovation. Community. Security.