api-error-handlingError handling patterns across languages and layers — operational vs programmer errors, retry strategies, circuit breakers, error boundaries, HTTP responses, graceful degradation, and structured logging. Use when designing error strategies, building resilient APIs, or reviewing error management.
Install via ClawdBot CLI:
clawdbot install wpank/api-error-handlingGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Calls external URL not in known-safe list
https://github.com/wpank/ai/tree/main/skills/api/error-handlingAudited Apr 16, 2026 · audit v1.0
Generated Feb 24, 2026
Implement error handling for an e-commerce API to manage payment gateway failures, inventory mismatches, and user input validation. Use retry strategies for transient network errors and structured logging to track operational issues, ensuring orders are processed reliably and failures are surfaced for monitoring.
Apply error boundaries and circuit breakers in a FinTech microservices system to isolate failures in services like transaction processing or fraud detection. Use specific error types and graceful degradation to maintain system stability during partial outages, preventing cascading failures across interconnected services.
Handle errors in a healthcare platform integrating data from multiple sources, such as EHR systems and lab results. Implement validation errors for data inconsistencies, operational error handling for network timeouts, and structured logging to comply with regulatory requirements while ensuring data integrity and patient safety.
Use error handling patterns in a real-time chat app to manage WebSocket disconnections, message delivery failures, and user authentication errors. Apply exponential backoff with jitter for reconnection attempts and error boundaries in the frontend to provide a seamless user experience during intermittent network issues.
Implement error strategies in a SaaS project management tool to handle API rate limiting, database connection losses, and file upload errors. Use circuit breakers for third-party integrations and specific error subclasses to provide clear feedback to users, enhancing reliability and reducing support tickets.
Offer error handling as part of a premium API service tier, providing advanced retry logic, circuit breakers, and detailed error analytics to enterprise clients. Revenue is generated through monthly subscriptions based on usage tiers and additional support services for custom error strategies.
Provide consulting services to help companies design and implement error handling strategies, including code reviews, workshops, and best practices training. Revenue comes from project-based fees, hourly rates, and packaged training programs tailored to specific industries like finance or healthcare.
Develop and maintain open-source error handling libraries or frameworks, monetizing through premium features such as advanced monitoring dashboards, enterprise support, and integration plugins. Revenue is generated via licensing fees for commercial use and paid support contracts.
💬 Integration Tip
Integrate error handling early in the development cycle by setting up middleware for logging and boundaries, and use specific error types to simplify debugging and monitoring across different layers of your application.
Scored Apr 19, 2026
YouTube Data API integration with managed OAuth. Search videos, manage playlists, access channel data, and interact with comments. Use this skill when users want to interact with YouTube. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Trello API integration with managed OAuth. Manage boards, lists, cards, members, and labels. Use this skill when users want to interact with Trello for project management. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Scaffold, test, document, and debug REST and GraphQL APIs. Use when the user needs to create API endpoints, write integration tests, generate OpenAPI specs, test with curl, mock APIs, or troubleshoot HTTP issues.
Twilio API integration with managed OAuth. SMS, voice calls, phone numbers, and communications. Use this skill when users want to send SMS messages, make voice calls, manage phone numbers, or work with Twilio resources. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
Fetch up-to-date library documentation via Context7 API. Use PROACTIVELY when: (1) Working with ANY external library (React, Next.js, Supabase, etc.) (2) User asks about library APIs, patterns, or best practices (3) Implementing features that rely on third-party packages (4) Debugging library-specific issues (5) Need current documentation beyond training data cutoff Always prefer this over guessing library APIs or using outdated knowledge.
OpenClaw skill that installs a Google Sheets CLI with setup steps and commands for read/write, batch, formatting, and sheet management.