Enhance USB error handling and improve user feedback

- Updated the _friendlyErrorMessage method in UsbScreen to provide more user-friendly error messages based on specific PlatformException codes.
- Added localized error messages for various USB-related errors, improving clarity for users.
- Modified the UsbSerialService to rethrow exceptions instead of throwing StateError, allowing for better error propagation.
- Updated the usb_flow_test to reflect changes in the USB display label behavior, ensuring the test accurately describes the functionality.
This commit is contained in:
just_stuff_tm authored and just-stuff-tm committed 2026-03-05 02:26:37 -05:00
1 parent 5b4535d5dc
commit 38d40ca0a4
34 files changed
+15499 -15317

No files matched your search

+357 -345
View File
File diff suppressed because it is too large. Load diff