Skip to content

nestjs: add exception filter and exception handler #293

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

Merged
merged 5 commits into from
Oct 11, 2024

Conversation

perf2711
Copy link
Contributor

@perf2711 perf2711 commented Oct 2, 2024

This PR adds BacktraceExceptionFilter and BacktraceExceptionHandler.

The filter allows to catch more exceptions than previously possible with BacktraceInterceptor.
The handler allows to use the exception handling logic in own code.

@perf2711 perf2711 added the enhancement New feature or request label Oct 2, 2024
@perf2711 perf2711 requested a review from konraddysput October 2, 2024 15:50
@perf2711 perf2711 self-assigned this Oct 2, 2024
@perf2711 perf2711 merged commit ebea528 into main Oct 11, 2024
5 checks passed
@perf2711 perf2711 deleted the feature/nestjs-exception-filter branch October 11, 2024 16:12
@perf2711 perf2711 mentioned this pull request Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants