Module Parsexp.Parse_error

type t
include sig ... end
val position : t ‑> Positions.pos
val message : t ‑> string
val report : Format.formatter ‑> filename:string ‑> t ‑> unit

Report an error in a style similar to OCaml, for instance:

File "blah", line 42, character 10: Error: s-expression parsing error; unterminated quoted string.