Go to file
ai-implementer 75a022a372 [QOTD-18] Implement global error-handling middleware
Add src/middleware/error.ts with a four-argument Express error handler
that logs errors server-side via console.error and responds with HTTP
500 and a generic { error: 'Internal server error' } body, never
leaking stack traces to the client. Register it last in a new
src/server.ts entry point.
2026-09-14 08:00:44 +00:00
src [QOTD-18] Implement global error-handling middleware 2026-09-14 08:00:44 +00:00
.gitignore [QOTD-2] Initialise npm project and install dependencies 2026-07-20 15:00:16 +00:00
CLAUDE.md [QOTD-5] Configure test runner with Vitest and placeholder test 2026-07-21 05:07:27 +00:00
package-lock.json [QOTD-2] Initialise npm project and install dependencies 2026-07-20 15:00:16 +00:00
package.json [QOTD-2] Initialise npm project and install dependencies 2026-07-20 15:00:16 +00:00
README.md Initial commit 2026-07-20 10:43:57 +00:00
tsconfig.json Add tsconfig.json and empty src/index.ts 2026-07-21 05:05:02 +00:00

quote-of-the-day-api