package biocaml

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

Module Biocaml_unix.MsgSource

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.

Sourceval err : ?pos:Pos.t -> string -> string
Sourceval warn : ?pos:Pos.t -> string -> string
Sourceval 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.

Sourceval print_err : ?pos:Pos.t -> string -> unit
Sourceval print_warn : ?pos:Pos.t -> string -> unit
Sourceval 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.

Sourceval max_array_length_error : string

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

Sourcemodule Tree : sig ... end

Message tree for more complex messages.

OCaml

Innovation. Community. Security.