Module Ppx_ast.Syntaxerr

type error =
| Unclosed of Ppx_ast__.Import.Location.t * string * Ppx_ast__.Import.Location.t * string
| Expecting of Ppx_ast__.Import.Location.t * string
| Not_expecting of Ppx_ast__.Import.Location.t * string
| Applicative_path of Ppx_ast__.Import.Location.t
| Variable_in_scope of Ppx_ast__.Import.Location.t * string
| Other of Ppx_ast__.Import.Location.t
| Ill_formed_ast of Ppx_ast__.Import.Location.t * string
| Invalid_package_type of Ppx_ast__.Import.Location.t * string
exception Error of error
exception Escape_error
val report_error : Format.formatter ‑> error ‑> unit
val location_of_error : error ‑> Ppx_ast__.Import.Location.t
val ill_formed_ast : Ppx_ast__.Import.Location.t ‑> string ‑> 'a