Error Handling Strategy
CommunityRobust error handling for critical applications.
AuthorGoldziher
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill ensures that critical errors in Python and Rust applications are handled consistently and reliably, preventing unexpected crashes and data corruption.
Core Features & Use Cases
- Mandatory Error Bubbling: Guarantees that
OSError/RuntimeError(Python + Rust),SystemExit,KeyboardInterrupt, andMemoryErrorare always propagated. - Language-Specific Strategies: Implements tailored error handling for Python (exception-based, inheriting from
KreuzbergError) and Rust (Result<T, KreuzbergError>, avoiding.unwrap()). - Exception Hierarchy: Defines a clear hierarchy for common error types like
ValidationError,ParsingError,OCRError, andMissingDependencyError. - Use Case: When a subprocess in your Python application encounters an error, this Skill ensures the error is correctly identified (e.g., by parsing stderr) and handled, rather than being silently ignored.
Quick Start
Configure your Python application to inherit custom exceptions from KreuzbergError.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: Error Handling Strategy Download link: https://github.com/Goldziher/spikard/archive/main.zip#error-handling-strategy 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 471,000+ vetted skills library on demand.