From 442c60b8f92499c45076c3c4cc1a1472b2dd8098 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 30 Nov 2025 06:39:51 +0900 Subject: feat(server): add error handling middleware MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add global error handling middleware for Hono with: - AppError class for application-specific errors with status codes - Errors factory for common HTTP errors (badRequest, unauthorized, etc.) - Consistent JSON error response format - Tests covering all error types 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- docs/dev/roadmap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/dev') diff --git a/docs/dev/roadmap.md b/docs/dev/roadmap.md index 59375aa..16dc004 100644 --- a/docs/dev/roadmap.md +++ b/docs/dev/roadmap.md @@ -13,7 +13,7 @@ - [x] Initialize Hono app - [x] Setup Vitest - [x] Add simple test to test that Hono works -- [ ] Error handling middleware +- [x] Error handling middleware - [ ] Logger middleware ### Database -- cgit v1.2.3-70-g09d2