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:
sig
val err : ?pos:Biocaml_internal_utils.Pos.t -> string -> string
val warn : ?pos:Biocaml_internal_utils.Pos.t -> string -> string
val bug : ?pos:Biocaml_internal_utils.Pos.t -> string -> string
val print_err : ?pos:Biocaml_internal_utils.Pos.t -> string -> unit
val print_warn : ?pos:Biocaml_internal_utils.Pos.t -> string -> unit
val print_bug : ?pos:Biocaml_internal_utils.Pos.t -> string -> unit
val max_array_length_error : string
Message tree for more complex messages.
module Tree:
sig
type
t =
| |
T of |
(* | A tree of messages. The tree (msg,sub_msgs) is interpreted as meaning that sub_msgs are the various possible explanations for msg . | *) |
end
end