Module Query.Parse_errorSource

Describes errors from the high-level parsing functions.

Sourcetype t
Sourceval position : t -> int

The byte position of the string at which the parser failed.

Sourceval message : t -> string

A message describing the problem.

Sourceval pp : Format.formatter -> t -> unit

Formats a human-readable error message.