sig
  type t = Backtrace.t
  val get : (unit -> t) Core_kernel.Std.Or_error.t
  val to_string : t -> string
  module Exn :
    sig
      val am_recording : unit -> bool
      val set_recording : bool -> unit
      val most_recent : unit -> string
    end
  val sexp_of_t : t -> Sexplib.Sexp.t
end