val createf : loc:location ‑> ('a, Caml.Format.formatter, Ppx_core__.Import.unit, t) Ppx_core__.Import.format4 ‑> 'a
val message : t ‑> Ppx_core__.Import.string
val set_message : t ‑> Ppx_core__.Import.string ‑> t
val register_error_of_exn : (Ppx_core__.Import.exn ‑> t Ppx_core__.Import.option) ‑> Ppx_core__.Import.unit
Register an exception handler. Exception registered this way will be properly
displayed by report_exception
.
val of_exn : Ppx_core__.Import.exn ‑> t Ppx_core__.Import.option
val to_extension : t ‑> Ppx_core__.Import.extension
Convert an error to an extension point. The compiler recognizes this and displays the error properly.