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:
1 parent
5b4535d5dc
commit
38d40ca0a4
34 files changed
+15499
-15317
No files matched your search
+290
-278
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user