Colaberry·Library
🧩

errorHandler Colaberry vetted

capabilities · v1.0 · owner: ali@colaberry.com
middlewareerror-handlingcolaberry ○ not yet enriched
🚀 Use this in Claude Code
Reference the "errorHandler" capability from our Colaberry library. Call colaberry_get_asset(category="capabilities", asset_id="errorHandler") and apply it to: <YOUR TASK HERE>.
No ratings yet
💬 0 comments

🧾 Provenance

Authored by
Ali Muwwakkil Colaberry Inc
ali@colaberry.com
Approved by
Not yet approved by any company.
Owned by tenant: colaberry

📝 What it does

Express error handler middleware. Catches AppError instances and returns typed JSON errors with status codes. Falls back to 500 with stack logging for unhandled errors. Includes stack trace in dev mod

💬 Discussion (0)

No comments yet. Be the first to share what you learned.

🎯 Used in 0 use cases

Not yet referenced by any use case. Browse use cases →

⭐ Rate this

✓ Colaberry vetting

Colaberry vetted

by ali@colaberry.com · 2026-06-09T12:26:55Z