pass outputs and state to nfc task so that they can show errors on their own

This commit is contained in:
2026-08-30 09:18:53 +00:00
parent 3d36885e11
commit 3c657045ca
5 changed files with 79 additions and 43 deletions
+3 -2
View File
@@ -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),
}
}
}