A comprehensive framework for implementing resilient error management strategies across various programming languages and architectural layers.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install api-error-handling
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install api-error-handling using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This skill provides a standardized approach to managing software failures, emphasizing the distinction between operational and programmer errors. By leveraging these patterns within Openclaw Skills, developers can ensure their applications fail fast and loud at boundaries rather than silently swallowing exceptions. It covers everything from low-level language idioms to high-level architectural patterns like circuit breakers and graceful degradation.
The core philosophy focuses on shiping resilient software by handling errors at the correct boundaries, providing sufficient context for diagnosis, and maintaining specific error types. Whether you are building complex APIs or frontend interfaces, these standards help maintain system stability and developer sanity.
To integrate these patterns into your workflow with Openclaw Skills, you can reference the documentation within your AI agent configuration or project rules.
# Example of setting up a project following these standards
mkdir -p src/errors
touch src/errors/AppError.js
# Incorporate the patterns into your system prompt or .cursorrules
echo "Follow Openclaw Skills error handling patterns for all generated code" >> .cursorrules
| Data Component | Description | Logic Pattern |
|---|---|---|
| Error Envelope | Standardized API response format containing code, message, and requestId. | JSON |
| Circuit Breaker | State tracking for CLOSED, OPEN, and HALF_OPEN thresholds. | State Machine |
| Retry Configuration | Parameters for base delay, max retries, and jitter factors. | Algorithmic |
| Structured Log | JSON-formatted log entry with level, timestamp, and context. | Logging |
| Error Subclasses | Hierarchical organization of specific error types (e.g., NotFoundError). | OOP |
Loading
A comprehensive meta-skill that orchestrates the entire API lifecycle from initial design and specification to testing and deployment.

A comprehensive technical framework for architecting scalable, intuitive, and high-performance REST and GraphQL APIs.

A professional collection of UI patterns for creating smooth, spring-animated financial data displays with real-time visual feedback.

A specialized AI skill designed to perform deep technical analysis on Uniswap liquidity pools to evaluate APY, depth, and risk factors.

A comprehensive technical guide from Openclaw Skills for implementing robust rate limiting algorithms and distributed throttling strategies to protect APIs.

A comprehensive guide to implementing resilient API versioning strategies, deprecation cycles, and seamless migration patterns.








































