package biocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Consistent printing of errors, warnings, and bugs. An error is a user mistake that prevents continuing program execution, a warning is a milder problem that the program continues to execute through, and a bug is a mistake in the software.

val err : ?pos:Pos.t -> string -> string
val warn : ?pos:Pos.t -> string -> string
val bug : ?pos:Pos.t -> string -> string

Create a string communicating an error, warning, or bug. First optional argument is position where problem occurred. Second argument is a string explaining the problem.

val print_err : ?pos:Pos.t -> string -> unit
val print_warn : ?pos:Pos.t -> string -> unit
val print_bug : ?pos:Pos.t -> string -> unit

Print an error, warning, or bug. First optional argument is position where problem occurred. Second argument is a string explaining the problem.

val max_array_length_error : string

String explaining OCaml's array length limitation on 32-bit machines.

module Tree : sig ... end

Message tree for more complex messages.

OCaml

Innovation. Community. Security.