containers

A modular, clean and powerful extension of the OCaml standard library
Library containers
Module CCParse . Error

Errors

  • since 3.6
type t

A parse error.

  • since 3.6
val position : t -> position

Returns position of the error

val line_and_column : t -> int * int

Line and column numbers of the error position.

val msg : t -> string
val to_string : t -> string

Prints the error

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

Pretty prints the error