Skip to content

Fiddle: add more exception classes#123

Merged
krishan711 merged 1 commit into
mainfrom
exc
Aug 1, 2025
Merged

Fiddle: add more exception classes#123
krishan711 merged 1 commit into
mainfrom
exc

Conversation

@krishan711
Copy link
Copy Markdown
Contributor

Description

Screenshots:

Checklist:

  • I have updated the CHANGELOG with a summary of my changes

@krishan711 krishan711 requested a review from Copilot August 1, 2025 08:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive HTTP status code exception classes to the core exceptions module. The purpose is to provide a complete set of exception classes corresponding to various HTTP status codes for better error handling.

Key changes:

  • Added 40+ new exception classes for HTTP 4xx client error and 5xx server error status codes
  • Fixed an incorrect error message in the existing TooManyRequestsException class
  • Refactored exception mapping dictionaries to include all new exception classes and removed commented-out entries

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
core/exceptions.py Added comprehensive HTTP exception classes and updated exception mappings
CHANGELOG.md Added entry documenting the addition of new exception classes

Comment thread core/exceptions.py
Comment thread core/exceptions.py
Comment thread core/exceptions.py
Comment thread core/exceptions.py
@krishan711 krishan711 merged commit 1c22df7 into main Aug 1, 2025
4 checks passed
@krishan711 krishan711 deleted the exc branch August 1, 2025 08:22
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