File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,9 @@ pub enum Error {
139139 Sled ( sled:: Error ) ,
140140 #[ cfg( feature = "rpc" ) ]
141141 /// Rpc client error
142- Rpc ( bitcoincore_rpc:: Error ) ,
142+ RpcClient ( bitcoincore_rpc:: Error ) ,
143+ /// Rpc proxy error
144+ RpcProxy ( crate :: blockchain:: rpc_proxy:: RpcProxyError ) ,
143145 #[ cfg( feature = "sqlite" ) ]
144146 /// Rusqlite client error
145147 Rusqlite ( rusqlite:: Error ) ,
@@ -196,7 +198,9 @@ impl_error!(electrum_client::Error, Electrum);
196198#[ cfg( feature = "key-value-db" ) ]
197199impl_error ! ( sled:: Error , Sled ) ;
198200#[ cfg( feature = "rpc" ) ]
199- impl_error ! ( bitcoincore_rpc:: Error , Rpc ) ;
201+ impl_error ! ( bitcoincore_rpc:: Error , RpcClient ) ;
202+ #[ cfg( feature = "rpc" ) ]
203+ impl_error ! ( crate :: blockchain:: rpc_proxy:: RpcProxyError , RpcProxy ) ;
200204#[ cfg( feature = "sqlite" ) ]
201205impl_error ! ( rusqlite:: Error , Rusqlite ) ;
202206
You can’t perform that action at this time.
0 commit comments