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 Updated 674 repo stars

File contents

thibautbaissac/react-express-ai-kit commit 8073db8455

Frequently asked questions

npx get-skill add thibautbaissac/api-error-handling