sig
  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
    | Unknown_output_format of string
    | Unknown_input_format of string
    | Unexpected_expression of string
    | Missing_configuration_file
    | Error_in_configuration_file of string
    | Missing_configuration_item of string
    | Unknown_configuration_item of string
    | Parsing_error of string * int * int
    | Template_not_found of string
    | Dynlink_error of Dynlink.error
  exception Error of Benl_error.error
  val string_of_error : Benl_error.error -> string
  val raise : Benl_error.error -> 'a
  val warn : Benl_error.error -> unit
  val warn_exn : string -> exn -> unit
  val error_exn : string -> exn -> unit
end