module Benl_error:sig
..end
type
error =
| |
Illegal_escape of |
|||
| |
Unknown_error of |
|||
| |
Nothing_to_download |
|||
| |
Curl_error of |
|||
| |
Unexpected_char of |
|||
| |
Bad_marshalled_data of |
|||
| |
Unknown_command of |
|||
| |
Unknown_output_format of |
|||
| |
Unknown_input_format of |
|||
| |
Unexpected_expression of |
|||
| |
Missing_configuration_file |
|||
| |
Error_in_configuration_file of |
|||
| |
Missing_configuration_item of |
|||
| |
Unknown_configuration_item of |
|||
| |
Parsing_error of |
|||
| |
Template_not_found of |
|||
| |
Dynlink_error of |
(* | The type of Ben-specific errors | *) |
exception Error of error
All Ben-specific errors are wrapped into this exception.
val string_of_error : error -> string
Return a human-readable explanation of an error.
val raise : error -> 'a
Wrapper around Pervasives.raise
to raise a Ben exception.
val warn : error -> unit
Emit a warning.
val warn_exn : string -> exn -> unit
Emit a warning.
val error_exn : string -> exn -> unit
Emit an error.