Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
https://docs.sentry.io/clientdev/interfaces/exception/
module Mechanism : sig ... end
module Frame : sig ... end
type t = private {
type_ : string;
value : string option;
module_ : string option;
thread_id : string option;
mechanism : Mechanism.t option;
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