Module Parsexp__.Of_sexp_error
val sexp_of_t : t -> Parsexp__.Import.Ppx_sexp_conv_lib.Sexp.t
val user_exn : t -> exn
Exception raised by the user function
val sub_sexp : t -> Parsexp__.Import.Sexp.t
S-expression that failed to be converted
val location : t -> Parsexp.Positions.range option
Position of
sub_sexp t
in the original source, if found
val report : Stdlib.Format.formatter -> filename:string -> t -> unit
Similar to
Parse_error.report
exception
Of_sexp_error of t
Exception raised in case of a conversion error
val raise : user_exn:exn -> sub_sexp:Parsexp__.Import.Sexp.t -> location:Parsexp.Positions.range option -> 'a