package dap

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. message : string option;
    (*

    Message contained in the exception.

    *)
  2. type_name : string option;
    (*

    Short type name of the exception object.

    *)
  3. full_type_name : string option;
    (*

    Fully-qualified type name of the exception object.

    *)
  4. evaluate_name : string option;
    (*

    Optional expression that can be evaluated in the current scope to obtain the exception object.

    *)
  5. stack_trace : string option;
    (*

    Stack trace at the time the exception was thrown.

    *)
  6. inner_exception : t option;
    (*

    Details of the exception contained by this exception, if any.

    *)
}

Detailed information about an exception that has occurred.

val make : ?message:string option -> ?type_name:string option -> ?full_type_name:string option -> ?evaluate_name:string option -> ?stack_trace:string option -> ?inner_exception:t option -> unit -> t
val to_yojson : t -> Yojson.Safe.t
OCaml

Innovation. Community. Security.