We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c1303a commit c447159Copy full SHA for c447159
src/error.rs
@@ -63,7 +63,7 @@ pub enum BDKCliError {
63
64
#[cfg(feature = "redb")]
65
#[error("Redb StoreError: {0}")]
66
- RedbStoreError(#[from] bdk_redb::error::StoreError),
+ RedbStoreError(Box<bdk_redb::error::StoreError>),
67
68
69
#[error("Redb dabtabase error: {0}")]
@@ -119,3 +119,10 @@ impl From<ExtractTxError> for BDKCliError {
119
BDKCliError::PsbtExtractTxError(Box::new(value))
120
}
121
122
+
123
+#[cfg(feature = "redb")]
124
+impl From<bdk_redb::error::StoreError> for BDKCliError {
125
+ fn from(err: bdk_redb::error::StoreError) -> Self {
126
+ BDKCliError::RedbStoreError(Box::new(err))
127
+ }
128
+}
0 commit comments