Skip to content

Conversation

@infuzu-yidisprei
Copy link
Contributor

  • Added detailed error and warning classes (APIError, APIWarning) to improve the handling and representation of API errors.
  • Updated InfuzuAPIError to extend httpx.HTTPStatusError for better integration with HTTP-related error handling.
  • Introduced logging for JSON decode errors to aid in debugging.
  • Enhanced type annotations in main.py for better code clarity and type checking.
  • Improved the import structure in init.py for better readability.

- Added detailed error and warning classes (APIError, APIWarning)
  to improve the handling and representation of API errors.
- Updated InfuzuAPIError to extend httpx.HTTPStatusError for better
  integration with HTTP-related error handling.
- Introduced logging for JSON decode errors to aid in debugging.
- Enhanced type annotations in main.py for better code clarity and
  type checking.
- Improved the import structure in __init__.py for better readability.
@infuzu-yidisprei infuzu-yidisprei merged commit b325eb8 into main Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants