Module CCParse.ErrorSource

Errors

Sourcetype t

A parse error.

  • since 3.6
Sourceval position : t -> position

Returns position of the error

Sourceval line_and_column : t -> int * int

Line and column numbers of the error position.

Sourceval msg : t -> string
Sourceval to_string : t -> string

Prints the error

Sourceval pp : Format.formatter -> t -> unit

Pretty prints the error