0xironclad / 0xironclad/Task-Scheduler-API
Error handling middleware
オープン
api
dx
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Centralize JSON error responses with consistent shape `{error:{message,code}}`.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Look for existing error handling in the Express app setup, likely in app.js or a middleware directory. Identify where errors are currently thrown and how they are formatted. Create a middleware function that catches errors, wraps them in the specified JSON shape, and sets appropriate HTTP status codes. Test by triggering different error conditions and verifying the response format.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- express, node.js, typescript
- 領域
- api, backend
- issue の種類
- リファクタリング
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100