LogoClawIndex
CasesSkillsAbout
LogoClawIndex

error-handling - Design resilient error handling for production Python

Defines Python exception hierarchies, preserves error context, adds graceful fallbacks and retries, and formats API failures with RFC 7807 Problem Details.

Tags

Updated: 2026-11-08

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Define exception hierarchies
  • Propagate chained error context
  • Implement graceful fallbacks
  • Structure RFC 7807 responses
  • Configure exponential backoff retries
  • Document raised exceptions

Inputs

  • Python source code
  • External dependency behavior
  • API error contracts
  • Failure handling requirements

Outputs

  • Exception handling code
  • Fallback execution paths
  • RFC 7807 error responses
  • Retry configurations
  • Error handling documentation
  • Error handling tests

Requirements

  • OpenCode-compatible environment

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
Python
error handling
exceptions
resilience
API errors
retry
Define exception hierarchies
Propagate chained error context
Implement graceful fallbacks
Structure RFC 7807 responses
Python source code
External dependency behavior
API error contracts
Exception handling code
Fallback execution paths
RFC 7807 error responses