Module Core_kernel.Printexc

This module is here to ensure that we don't use the functions in Caml.Printexc inadvertently.

val to_string : Base.Exn.t -> [ `Deprecated_use_Exn_to_string_instead ]
val print : Base.Exn.t -> [ `Deprecated_use_Exn_to_string_instead ]
val catch : ('a -> _) -> 'a -> [ `Deprecated_use_Exn_handle_uncaught_instead ]
val print_backtrace : out_channel -> Base.Unit.t
val get_backtrace : Base.Unit.t -> Base.String.t
val record_backtrace : Base.Bool.t -> Base.Unit.t
val backtrace_status : Base.Unit.t -> Base.Bool.t