mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-25 20:09:55 +00:00
Replace error-chain for client error (#2231)
* WIP: convert client error * Remove error_chain for client error * Ignore tx-pool error deprecation warning * Update Cargo.lock files * Fix tests * Increment impl_version * Derive From impls, remove allow(missing_docs) * Remove space * Remove redundant into()s * Blockchain Error source * Bump impl version
This commit is contained in:
1 parent
1e0c1d8850
commit
7f59cdb900
39 files changed
+298
-290
No files matched your search
@@ -226,7 +226,7 @@ impl SlotDuration {
|
||||
match client.get_aux(SLOT_KEY)? {
|
||||
Some(v) => u64::decode(&mut &v[..])
|
||||
.map(SlotDuration)
|
||||
.ok_or_else(|| ::client::error::ErrorKind::Backend(
|
||||
.ok_or_else(|| ::client::error::Error::Backend(
|
||||
format!("Aura slot duration kept in invalid format"),
|
||||
).into()),
|
||||
None => {
|
||||
|
||||
Reference in new issue
Block a user