package sentry

  1. Overview
  2. Docs

https://docs.sentry.io/clientdev/interfaces/exception/

module Mechanism : sig ... end
module Frame : sig ... end
type t = private {
  1. type_ : string;
  2. value : string option;
  3. module_ : string option;
  4. thread_id : string option;
  5. mechanism : Mechanism.t option;
  6. stacktrace : Frame.t list;
}
val make : type_:string -> ?value:string -> ?module_:string -> ?thread_id:string -> ?mechanism:Mechanism.t -> ?stacktrace:Frame.t list -> unit -> t
val to_payload : t -> Sentry__.Payloads_t.exception_value
val list_to_payload : t list -> Sentry__.Payloads_t.exception_
val of_exn : exn -> t
val of_error : Core_kernel.Error.t -> t
OCaml

Innovation. Community. Security.