package parsexp

  1. Overview
  2. Docs
type t
val sexp_of_t : t -> Sexplib0.Sexp.t
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.

exception Parse_error of t
OCaml

Innovation. Community. Security.