asyncredux-user-exceptions
CommunityHandle user-facing errors in AsyncRedux apps.
Software Engineering#error-handling#flutter#dialog#asyncredux#handle-errors#user-exceptions#ui-errors
Authormarcglasberg
Version1.0.0
Installs0
System Documentation
What problem does it solve?
AsyncRedux apps often face user-facing errors that should be communicated to users without crashing the app. This skill provides a consistent approach using UserException, UserExceptionDialog, and UserExceptionAction to separate user-facing issues from developer bugs.
Core Features & Use Cases
- Throw UserException from Actions to surface user-facing problems.
- Convert unexpected errors to UserException with addCause for friendly messages.
- Set up UserExceptionDialog to display errors and customize via onShowUserExceptionDialog.
- Use UserExceptionAction to show non-interrupting errors during an action.
- Optional: GlobalWrapError and error queue for centralized error handling and testing.
Quick Start
Wrap your app with UserExceptionDialog, dispatch UserException in actions for user-facing errors, and customize the dialog with onShowUserExceptionDialog as needed.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: asyncredux-user-exceptions Download link: https://github.com/marcglasberg/async_redux/archive/main.zip#asyncredux-user-exceptions Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.