Skip to content

miniproto.invoke.should_retry_rpc_error

should_retry_rpc_error(error: RpcError) -> bool

Return whether a classified server-side RPC failure is transient enough to retry.

Parameters:

  • error (RpcError) – Classified RPC failure whose type and numeric code are inspected.