Extension.Error
An extensible set of possible errors
type t = error = ..
type t +=
| Configuration
| Invalid of string
| Exit_requested of int
| Unknown_plugin of string
| Bug of exn * string
val pp : Stdlib.Format.formatter -> t -> unit
pp ppf err outputs a human readable description of err
pp ppf err
err
val register_printer : (t -> string option) -> unit
register_printer to_string registers a printer for a subset of the errors.
register_printer to_string