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.
module Biocaml_msg: sigval err : ?pos:Biocaml_internal_utils.Pos.t -> string -> stringval warn : ?pos:Biocaml_internal_utils.Pos.t -> string -> stringval bug : ?pos:Biocaml_internal_utils.Pos.t -> string -> stringval print_err : ?pos:Biocaml_internal_utils.Pos.t -> string -> unitval print_warn : ?pos:Biocaml_internal_utils.Pos.t -> string -> unitval print_bug : ?pos:Biocaml_internal_utils.Pos.t -> string -> unitval max_array_length_error : stringMessage tree for more complex messages.
module Tree: sigtype t =
|
T of string * t list
(* A tree of messages. The tree (msg,sub_msgs) is interpreted as meaning that sub_msgs are the various possible explanations for msg. *)
endend