API Error Handling

Extend the kit's central Express error handler and typed error contract end to end: domain errors carrying a statusCode, ZodError→400 at the boundary, 500s that never leak internals, and frontend mapping of ApiError into user-facing states.

thibautbaissac 8073db8 2 files · 6.5 KB Updated

File contents

thibautbaissac/react-express-ai-kit/tree/main/.claude/skills/api-error-handling commit 8073db8455

Frequently asked questions

npx skillmds@latest add thibautbaissac/api-error-handling