Source

ocaml-core / base / core / lib / core_printexc.mli

The branch 'bash' does not exist.
Full commit
(**
   This module is here to ensure that we don't use the functions [Caml.Printexc]
   inadvertently
*)
val to_string : exn -> [`Deprecated_use_Exn_to_string_instead]
val print : exn  -> [`Deprecated_use_Exn_to_string_instead]
val catch : ('a -> _) -> 'a -> [`Deprecated_use_Exn_handle_uncaught_instead]

val print_backtrace : out_channel -> unit
val get_backtrace : unit -> string
val record_backtrace : bool -> unit
val backtrace_status : unit -> bool