Module Ocaml_parsing.Syntaxerr
Auxiliary type for reporting syntax errors
Warning: this module is unstable and part of compiler-libs.
type error = | Unclosed of Ocaml_parsing.Location.t * string * Ocaml_parsing.Location.t * string| Expecting of Ocaml_parsing.Location.t * string| Not_expecting of Ocaml_parsing.Location.t * string| Applicative_path of Ocaml_parsing.Location.t| Variable_in_scope of Ocaml_parsing.Location.t * string| Other of Ocaml_parsing.Location.t| Ill_formed_ast of Ocaml_parsing.Location.t * string| Invalid_package_type of Ocaml_parsing.Location.t * Ocaml_parsing.Syntaxerr.invalid_package_type| Removed_string_set of Ocaml_parsing.Location.t| Missing_unboxed_literal_suffix of Ocaml_parsing.Location.t| Malformed_instance_identifier of Ocaml_parsing.Location.t| Quotation_reserved of Ocaml_parsing.Location.t * string| Unspliceable of Ocaml_parsing.Location.t| Let_mutable_not_allowed_at_structure_level of Ocaml_parsing.Location.t| Let_mutable_not_allowed_in_class_definition of Ocaml_parsing.Location.t| Let_mutable_not_allowed_with_function_bindings of Ocaml_parsing.Location.t| Block_access_bad_paren of Ocaml_parsing.Location.t
exception Error of Ocaml_parsing.Syntaxerr.errorval location_of_error :
Ocaml_parsing.Syntaxerr.error ->
Ocaml_parsing.Location.tval ill_formed_ast : Ocaml_parsing.Location.t -> string -> 'a