File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ pub enum Error {
2929
3030/// Low-level error related to RPC calls and failover logic.
3131#[ derive( Error , Debug ) ]
32- pub enum CoreError {
32+ pub ( crate ) enum CoreError {
3333 #[ error( "Operation timed out" ) ]
3434 Timeout ,
3535 #[ error( "RPC call failed after exhausting all retry attempts: {0}" ) ]
@@ -343,7 +343,7 @@ impl<N: Network> RobustProvider<N> {
343343 /// returned by the last provider attempted on the last retry.
344344 /// * [`CoreError::Timeout`] - if the overall operation timeout elapses (i.e. exceeds
345345 /// `call_timeout`).
346- pub async fn try_operation_with_failover < T : Debug , F , Fut > (
346+ pub ( crate ) async fn try_operation_with_failover < T : Debug , F , Fut > (
347347 & self ,
348348 operation : F ,
349349 require_pubsub : bool ,
You can’t perform that action at this time.
0 commit comments