Skip to content

Commit a00597e

Browse files
author
Doug Borg
committed
Add design document for Issue #100: Enhanced error handling
This design document provides a comprehensive specification for enhancing the generated client's error handling capabilities including: - Rich exception hierarchy (APIError, ClientError, ServerError) - Parsed error models from OpenAPI specifications - Dual API pattern (simple + detailed response wrappers) - Full HTTP context (method, URL, headers, request IDs) - Support for multiple success codes and wildcard patterns - Type-safe error handling without Union type overhead - Backwards compatibility with existing HTTPException The design includes: - Complete architecture and component specifications - Usage examples for all API patterns - 10-phase implementation plan - Design rationale and backwards compatibility analysis Addresses Issue #100
1 parent f356cf0 commit a00597e

File tree

1 file changed

+1511
-0
lines changed

1 file changed

+1511
-0
lines changed

0 commit comments

Comments
 (0)