Structured Errors
Return structured error objects with code, message, and details
CLAUDE.md
Return structured error objects with a machine-readable code, human-readable message, and optional details field. This lets clients handle errors programmatically.
Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.