Melange_compiler_libs.Syntaxerr
Auxiliary type for reporting syntax errors
Warning: this module is unstable and part of compiler-libs.
type error =
| Unclosed(Location.t, string, Location.t, string)
| Expecting(Location.t, string)
| Not_expecting(Location.t, string)
| Applicative_path(Location.t)
| Variable_in_scope(Location.t, string)
| Other(Location.t)
| Ill_formed_ast(Location.t, string)
| Invalid_package_type(Location.t, string)
| Removed_string_set(Location.t)
;
exception Error(error);
let location_of_error: error => Location.t;
let ill_formed_ast: Location.t => string => 'a;