Module Location.Error
type location= ttype t
val make : loc:location -> Ppxlib__.Import.string -> sub:(location * Ppxlib__.Import.string) Ppxlib__.Import.list -> tval createf : loc:location -> ('a, Ppxlib__.Import.unit, Ppxlib__.Import.string, t) Ppxlib__.Import.format4 -> 'aval message : t -> Ppxlib__.Import.stringval set_message : t -> Ppxlib__.Import.string -> tval register_error_of_exn : (Ppxlib__.Import.exn -> t Ppxlib__.Import.option) -> Ppxlib__.Import.unitRegister an exception handler. Exception registered this way will be properly displayed by
report_exception.
val of_exn : Ppxlib__.Import.exn -> t Ppxlib__.Import.optionval to_extension : t -> Ppxlib__.Import.extensionConvert an error to an extension point. The compiler recognizes this and displays the error properly.