package ez_api

  1. Overview
  2. Docs

doc/ez_api.request_lwt/EzRequest_lwt/index.html

Module EzRequest_lwtSource

Sourcetype 'a api_error = 'a EzReq_lwt_S.api_error =
  1. | KnownError of {
    1. code : int;
    2. error : 'a;
    }
  2. | UnknownError of {
    1. code : int;
    2. msg : string option;
    }
Sourcetype ('output, 'error) api_result = ('output, 'error) EzReq_lwt_S.api_result
Sourceval handle_error : ('a -> string option) -> 'a api_error -> int * string option
Sourceval string_of_error : ('a -> string option) -> 'a api_error -> string
Sourceval request_reply_hook : (unit -> unit) ref
Sourcemodule type S = EzReq_lwt_S.S
Sourcemodule type Interface = EzReq_lwt_S.Interface
Sourcemodule ANY : S
Sourcemodule Make (_ : Interface) : S
OCaml

Innovation. Community. Security.