pass outputs and state to nfc task so that they can show errors on their own
This commit is contained in:
@@ -21,8 +21,9 @@ impl Error for FlashStoreError {}
|
||||
|
||||
impl Display for FlashStoreError {
|
||||
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
|
||||
use core::fmt::Debug;
|
||||
self.0.fmt(f)
|
||||
match self {
|
||||
err => write!(f, "FlashStoreError:\n{:?}", err.0),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user