File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,10 @@ 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+ #[ cfg( feature = "rpc" ) ]
145+ RpcProxy ( crate :: blockchain:: rpc_proxy:: RpcProxyError ) ,
143146 #[ cfg( feature = "sqlite" ) ]
144147 /// Rusqlite client error
145148 Rusqlite ( rusqlite:: Error ) ,
@@ -196,7 +199,9 @@ impl_error!(electrum_client::Error, Electrum);
196199#[ cfg( feature = "key-value-db" ) ]
197200impl_error ! ( sled:: Error , Sled ) ;
198201#[ cfg( feature = "rpc" ) ]
199- impl_error ! ( bitcoincore_rpc:: Error , Rpc ) ;
202+ impl_error ! ( bitcoincore_rpc:: Error , RpcClient ) ;
203+ #[ cfg( feature = "rpc" ) ]
204+ impl_error ! ( crate :: blockchain:: rpc_proxy:: RpcProxyError , RpcProxy ) ;
200205#[ cfg( feature = "sqlite" ) ]
201206impl_error ! ( rusqlite:: Error , Rusqlite ) ;
202207
You can’t perform that action at this time.
0 commit comments