diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-11-30 06:39:51 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-12-04 23:26:11 +0900 |
| commit | 442c60b8f92499c45076c3c4cc1a1472b2dd8098 (patch) | |
| tree | 67da31227d316a7d7ce5de1abd7c29b865279849 /docs/dev | |
| parent | 64a1b249d25fe52df9ad7d8c034e2e004354ecd5 (diff) | |
| download | kioku-442c60b8f92499c45076c3c4cc1a1472b2dd8098.tar.gz kioku-442c60b8f92499c45076c3c4cc1a1472b2dd8098.tar.zst kioku-442c60b8f92499c45076c3c4cc1a1472b2dd8098.zip | |
feat(server): add error handling middleware
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 <noreply@anthropic.com>
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/roadmap.md | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
