test-error-state
CommunityTest Cubit error handling with isFailed.
Authormarcglasberg
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill verifies that Cubit error states are correctly tracked and recoverable by validating isFailed(), getException(), and clearException flows.
Core Features & Use Cases
- Validates that isFailed() becomes true after a failing operation and false on success.
- Verifies that getException() returns the correct exception type and message.
- Ensures errors clear automatically after a successful retry or when manually cleared.
Quick Start
Run the provided unit tests to simulate API failures and observe error tracking behavior.
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: test-error-state Download link: https://github.com/marcglasberg/bloc_superpowers/archive/main.zip#test-error-state 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.