Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to send different error response from error handler middleware #2372

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

pankajjs
Copy link
Member

@pankajjs pankajjs commented Jan 26, 2025

Date: 26 Jan, 2025

Developer Name: @pankajjs


Issue Ticket Number

Description

This PR fixes the error handler middleware by adding support to send different error responses based on error types.

Documentation Updated?

  • Yes
  • No

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Screenshots

Screenshot 1

Test Coverage

Screenshot 1

Additional Notes

@pankajjs pankajjs self-assigned this Jan 26, 2025
@pankajjs pankajjs force-pushed the fix/error-handler branch 2 times, most recently from d066364 to bfac84b Compare January 28, 2025 14:45
Copy link
Member

@AnujChhikara AnujChhikara left a comment

Choose a reason for hiding this comment

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

LGTM

@iamitprakash iamitprakash merged commit a7812ee into Real-Dev-Squad:develop Feb 7, 2025
3 checks passed
@pankajjs pankajjs mentioned this pull request Feb 7, 2025
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix error handler middleware to serve different error response
6 participants