package parsexp

  1. Overview
  2. Docs

Module Parsexp.Parse_errorSource

Sourcetype t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval position : t -> Positions.pos
Sourceval message : t -> string
Sourceval 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.

Sourceexception Parse_error of t
OCaml

Innovation. Community. Security.