Eliminate the errorCode property from server logger calls, error contract types, and API error bodies throughout the codebase. This reduces duplication and streamlines error reporting, relying on structured event names and error classes for identification. All affected API routes, server logic, and logging utilities have been updated for consistency. Documentation directory added for future reference. |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| contexts | ||
| db | ||
| hooks | ||
| lib | ||
| types | ||
| middleware.ts | ||