-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Error Handling Separation: Moved error-handling logic into separate methods like _handleRequestError, _handleApiResponse, _handleRateLimitError, and _handleAccessTokenError for better readability and reusability. Rate Limiting: Simplified rate-limiting logic and ensured it only triggers when necessary. Token Management: Centralized token error handling to ensure consistency and reduce repetition. Logging: Made logging more consistent by grouping similar log actions together.
- Loading branch information
Showing
1 changed file
with
168 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters