package containers

  1. Overview
  2. Docs
On This Page
  1. Errors
Legend:
Library
Module
Module type
Parameter
Class
Class type

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

OCaml

Innovation. Community. Security.