mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-24 20:55:03 +00:00
error rework, for polkadot convenience (#7446)
Co-authored-by: Bernhard Schuster <bernhard@parity.io> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
1 parent
1679919830
commit
9687759774
17 files changed
+152
-128
No files matched your search
@@ -17,7 +17,7 @@
|
||||
|
||||
/// The error type for database operations.
|
||||
#[derive(Debug)]
|
||||
pub struct DatabaseError(pub Box<dyn std::error::Error + Send>);
|
||||
pub struct DatabaseError(pub Box<dyn std::error::Error + Send + Sync + 'static>);
|
||||
|
||||
impl std::fmt::Display for DatabaseError {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
|
||||
|
||||
Reference in new issue
Block a user