package sentry

  1. Overview
  2. Docs

Module Sentry.ExceptionSource

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

Sourcemodule Mechanism : sig ... end
Sourcemodule Frame : sig ... end
Sourcetype 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;
}
Sourceval make : type_:string -> ?value:string -> ?module_:string -> ?thread_id:string -> ?mechanism:Mechanism.t -> ?stacktrace:Frame.t list -> unit -> t
Sourceval to_payload : t -> Sentry__.Payloads_t.exception_value
Sourceval list_to_payload : t list -> Sentry__.Payloads_t.exception_
Sourceval of_exn : exn -> t
Sourceval of_error : Core_kernel.Error.t -> t