module Benl_error: sig
.. end
The type of Ben-specific errors
type
error =
| |
Illegal_escape of char |
| |
Unknown_error of exn |
| |
Nothing_to_download |
| |
Curl_error of int |
| |
Unexpected_char of string * char * int * int |
| |
Bad_marshalled_data of string |
| |
Unknown_command of string |
| |
Unexpected_expression of string |
| |
Error_in_configuration_file of string |
| |
Missing_configuration_item of string |
| |
Parsing_error of string * int * int |
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.