Design consistent API error handling with proper HTTP status codes
Design error handling standards for my API: API Type: [REST/GraphQL] Framework: [Express/FastAPI/Django/etc.] Current Pain Points: [DESCRIBE ISSUES] Requirements: - Client types: [WEB/MOBILE/THIRD-PARTY] - Internationalization: [YES/NO] - Debug mode: [INCLUDE STACK TRACES IN DEV] Please provide: 1. Error response format specification 2. HTTP status code mapping guide 3. Error code taxonomy 4. Middleware/exception handler implementation 5. Logging integration 6. Client-friendly error messages vs. internal details
Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[DESCRIBE ISSUES][INCLUDE STACK TRACES IN DEV]