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 {
139
139
Sled ( sled:: Error ) ,
140
140
#[ cfg( feature = "rpc" ) ]
141
141
/// 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 ) ,
143
146
#[ cfg( feature = "sqlite" ) ]
144
147
/// Rusqlite client error
145
148
Rusqlite ( rusqlite:: Error ) ,
@@ -196,7 +199,9 @@ impl_error!(electrum_client::Error, Electrum);
196
199
#[ cfg( feature = "key-value-db" ) ]
197
200
impl_error ! ( sled:: Error , Sled ) ;
198
201
#[ 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 ) ;
200
205
#[ cfg( feature = "sqlite" ) ]
201
206
impl_error ! ( rusqlite:: Error , Rusqlite ) ;
202
207
You can’t perform that action at this time.
0 commit comments