Use a standardized error response format in all API routes.
Use a standardized error response format in all API routes.