Maps error codes to HTTP status codes
This utility is used by the frontend to set appropriate HTTP status codes when returning errors from API routes.
Numeric error code from ERROR_CODES registry
HTTP status code (200-599)
Maps error codes to HTTP status codes
This utility is used by the frontend to set appropriate HTTP status codes when returning errors from API routes.