package obeam

  1. Overview
  2. Docs
type 'a t = {
  1. reason : 'a kind_t;
  2. backtrace : Base.Source_code_position.t Base.list;
  3. previous : 'a t Base.option;
}
and 'a kind_t =
  1. | Not_supported_absform of Base.string * 'a
  2. | Invalid_input of Base.string * 'a
val sexp_of_t : 'a. ('a -> Ppx_sexp_conv_lib.Sexp.t) -> 'a t -> Ppx_sexp_conv_lib.Sexp.t
val sexp_of_kind_t : 'a. ('a -> Ppx_sexp_conv_lib.Sexp.t) -> 'a kind_t -> Ppx_sexp_conv_lib.Sexp.t
val create : loc:Base.Source_code_position.t -> 'a kind_t -> 'a t
val record_backtrace : loc:Base.Source_code_position.t -> 'a t -> 'a t
val wrap : loc:Base.Source_code_position.t -> 'a kind_t -> 'a t -> 'a t
OCaml

Innovation. Community. Security.