🧩
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>.
🧾 Provenance
Ali Muwwakkil
Colaberry Inc
📝 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
📁 Provenance
Asset source:
https://github.com/ColaberryIntern/ColaberryEnterprise_AI_LeadershipAccelerator/blob/c84f87342cdabd1cecbe4d6b56ba87903b6e77c1/backend/src/middlewares/errorHandler.tsCategory source:
execution/ops_platform/capability_registry.py