Module Location.Error

type t
val make : loc:t -> string -> sub:(t * string) list -> t
val createf : loc:t -> ('a, Format.formatter, unit, t) format4 -> 'a
val message : t -> string
val set_message : t -> string -> t
val register_error_of_exn : (exn -> t option) -> unit
val of_exn : exn -> t option
val to_extension : t -> string Astlib.Location.loc * Parsetree.payload
val raise : t -> 'a
val update_loc : t -> t -> t
val get_location : t -> t