setup-global-catch-error
CommunityCentralize error handling across mix() calls.
Authormarcglasberg
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Configure a centralized error handling strategy for Flutter apps using Superpowers by assigning a global catch handler that can log, translate, and manage errors consistently.
Core Features & Use Cases
- Catches all unhandled errors from mix() calls and routes them to a unified handler.
- Logs errors to analytics/crash reporting and converts them to user-friendly messages.
- Provides three strategies: suppress, show dialog via UserException, or crash in debug mode.
Quick Start
Configure Superpowers.globalCatchError in main() before runApp() to initialize a global error handler that logs and standardizes errors.
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: setup-global-catch-error Download link: https://github.com/marcglasberg/bloc_superpowers/archive/main.zip#setup-global-catch-error 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.