package octez-libs

  1. Overview
  2. Docs
A package that contains multiple base libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a

doc/octez-libs.rpc-http/Tezos_rpc_http/RPC_client_errors/index.html

Module Tezos_rpc_http.RPC_client_errorsSource

Sourcetype rpc_error =
  1. | Empty_answer
  2. | Connection_failed of string
  3. | Bad_request of string
  4. | Forbidden
  5. | Method_not_allowed of Tezos_rpc.Service.meth list
  6. | Unsupported_media_type of string option
  7. | Not_acceptable of {
    1. proposed : string;
    2. acceptable : string;
    }
  8. | Unexpected_status_code of {
    1. code : Cohttp.Code.status_code;
    2. content : string;
    3. media_type : string option;
    }
  9. | Unexpected_content_type of {
    1. received : string;
    2. acceptable : string list;
    3. body : string;
    }
  10. | Unexpected_content of {
    1. content : string;
    2. media_type : string;
    3. error : string;
    }
  11. | OCaml_exception of string
  12. | Unauthorized_host of string option
  13. | Unauthorized_uri
  14. | Too_many_redirects of string
  15. | Redirect_without_location of string
Sourcetype Tezos_base.TzPervasives.error +=
  1. | Request_failed of {
    1. meth : Tezos_rpc.Service.meth;
    2. uri : Uri.t;
    3. error : rpc_error;
    }
OCaml

Innovation. Community. Security.