Module Mavryk_rpc_http.RPC_client_errors

type rpc_error =
  1. | Empty_answer
  2. | Connection_failed of string
  3. | Bad_request of string
  4. | Forbidden
  5. | Method_not_allowed of Mavryk_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
type Mavryk_base.TzPervasives.error +=
  1. | Request_failed of {
    1. meth : Mavryk_rpc.Service.meth;
    2. uri : Uri.t;
    3. error : rpc_error;
    }