Module Stack_trace_command.Result
type t
=
{
stack_frames : Stack_frame.t list;
The frames of the stackframe. If the array has length zero, there are no stackframes available. This means that there is no location information available.
total_frames : int option;
The total number of frames available in the stack. If omitted or if totalFrames is larger than the available frames, a client is expected to request frames until a request returns less frames than requested (which indicates the end of the stack). Returning monotonically increasing totalFrames values for subsequent requests can be used to enforce paging in the client.
}
val make : ?stack_frames:Stack_frame.t list -> ?total_frames:int option -> unit -> t
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or