package parsexp

  1. Overview
  2. Docs

Module Parsexp.Of_sexp_errorSource

Sourcetype t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval user_exn : t -> exn

Exception raised by the user function

Sourceval sub_sexp : t -> Sexplib0.Sexp.t

S-expression that failed to be converted

Sourceval location : t -> Positions.range option

Position of sub_sexp t in the original source, if found

Sourceval report : Format.formatter -> filename:string -> t -> unit

Similar to Parse_error.report

Sourceexception Of_sexp_error of t

Exception raised in case of a conversion error

Sourceval raise : user_exn:exn -> sub_sexp:Sexplib0.Sexp.t -> location:Positions.range option -> 'a