Skip to content

Conversation

@CarlaEscobar1999
Copy link

@CarlaEscobar1999 CarlaEscobar1999 commented Nov 26, 2025

Note

Refactors exception classes with type hints, stricter PolyApiException initialization, improved response parsing, and richer representation.

  • Exceptions:
    • PolyException: add docstring and typed constructor; pass message to base Exception.
    • PolyApiException: enforce resp or error_msg presence; store typed status_code/error_msg; parse response JSON with ValueError fallback to text; construct informative base message; add detailed __repr__; remove __str__.

Written by Cursor Bugbot for commit a770ff1. This will update automatically on new commits. Configure here.

@CarlaEscobar1999 CarlaEscobar1999 requested a review from a team as a code owner November 26, 2025 21:40
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.

1 participant