package sentry

  1. Overview
  2. Docs
type t = private {
  1. filename : string option;
  2. function_ : string option;
  3. module_ : string option;
  4. lineno : int option;
  5. colno : int option;
  6. abs_path : string option;
  7. context_line : string option;
  8. pre_context : string list;
  9. post_context : string list;
  10. in_app : bool option;
  11. vars : string Core_kernel.String.Map.t;
  12. package : string option;
  13. platform : Platform.t option;
}

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

val make : ?filename:string -> ?function_:string -> ?module_:string -> ?lineno:int -> ?colno:int -> ?abs_path:string -> ?context_line:string -> ?pre_context:string list -> ?post_context:string list -> ?in_app:bool -> ?vars:string Core_kernel.String.Map.t -> ?package:string -> ?platform:Platform.t -> unit -> t Core_kernel.Or_error.t
val make_exn : ?filename:string -> ?function_:string -> ?module_:string -> ?lineno:int -> ?colno:int -> ?abs_path:string -> ?context_line:string -> ?pre_context:string list -> ?post_context:string list -> ?in_app:bool -> ?vars:string Core_kernel.String.Map.t -> ?package:string -> ?platform:Platform.t -> unit -> t
val to_payload : t -> Sentry__.Payloads_t.stackframe
OCaml

Innovation. Community. Security.