#
val to_string : exn -> string
#
val print : ('a -> 'b) -> 'a -> 'b
#
val catch : ('a -> 'b) -> 'a -> 'b
#
val get_backtrace : unit -> string
#
val record_backtrace : bool -> unit
#
val backtrace_status : unit -> bool
#
val register_printer : (exn -> string option) -> unit
#
val set_uncaught_exception_handler : (exn
-> raw_backtrace -> unit)
-> unit
#
type location = {
| : string | ; | | | |
| : int | ; | | | |
| : int | ; | | | |
| : int | ; | | | |
}
#
type raw_backtrace_slot
#
val exn_slot_id : exn -> int
#
val exn_slot_name : exn -> string