(**
 * Copyright (c) 2018-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *)

type t

val wrap: exn -> t

val reraise: t -> 'a

val to_string: t -> string
val get_ctor_string: t -> string
val get_backtrace_string: t -> string

val get_current_callstack_string: int -> string

val record_backtrace: bool -> unit
