skills/skills.volces.com/error-handling

error-handling

SKILL.md

Error Handling Patterns

Ship resilient software. Handle errors at boundaries, fail fast and loud, never swallow exceptions silently.

Error Handling Philosophy

Principle Description
Fail Fast Detect errors early — validate inputs at the boundary, not deep in business logic
Fail Loud Errors must be visible — log them, surface them, alert on them
Handle at Boundaries Catch and translate errors at layer boundaries (controller, middleware, gateway)
Let It Crash For unrecoverable state, crash and restart (Erlang/OTP philosophy)
Be Specific Catch specific error types, never bare catch or except
Provide Context Every error carries enough context to diagnose without reproducing

Error Types

Installs
11
First Seen
Mar 18, 2026