Auxiliary type for reporting syntax errors
type error = | Unclosed of Ppxlib_ast__.Import.Location.t * string * Ppxlib_ast__.Import.Location.t * string |
| Expecting of Ppxlib_ast__.Import.Location.t * string |
| Not_expecting of Ppxlib_ast__.Import.Location.t * string |
| Applicative_path of Ppxlib_ast__.Import.Location.t |
| Variable_in_scope of Ppxlib_ast__.Import.Location.t * string |
| Other of Ppxlib_ast__.Import.Location.t |
| Ill_formed_ast of Ppxlib_ast__.Import.Location.t * string |
| Invalid_package_type of Ppxlib_ast__.Import.Location.t * string |
exception Error of errorval report_error : Format.formatter ‑> error ‑> unitval location_of_error : error ‑> Ppxlib_ast__.Import.Location.tval ill_formed_ast : Ppxlib_ast__.Import.Location.t ‑> string ‑> 'a