mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-20 18:56:19 +00:00
fix: error message on rpc errors (#1804)
This commit is contained in:
1 parent
b5209a162e
commit
cbf05d1999
3 files changed
+3
-3
No files matched your search
@@ -43,7 +43,7 @@ pub enum LightClientError {
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum LightClientRpcError {
|
||||
/// Error response from the JSON-RPC server.
|
||||
#[error("{0}")]
|
||||
#[error(transparent)]
|
||||
JsonRpcError(JsonRpcError),
|
||||
/// Smoldot could not handle the RPC call.
|
||||
#[error("Smoldot could not handle the RPC call: {0}.")]
|
||||
|
||||
Reference in new issue
Block a user