Module Locations.Helpers_impl

type nonrec location_error = location_error
val error_of_exn : exn -> location_error option
val register_error_of_exn : (exn -> Location.error option) -> unit
val report_exception : Stdlib.Format.formatter -> exn -> unit
val get_error_message : location_report -> string
val set_error_message : location_report -> string -> location_report
val make_error_of_message : loc:Location.t -> string -> sub:(Location.t * string) list -> location_report
val print_error : Stdlib.Format.formatter -> Location.report -> unit
val raise_error : Location.error -> 'a