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

[11.x] Set previous exception on HttpResponseException #51968

Conversation

hafezdivandari
Copy link
Contributor

@hafezdivandari hafezdivandari commented Jul 1, 2024

We need this for laravel/passport#1763

The exception handler supports handling http response exceptions by extending \Illuminate\Http\Exceptions\HttpResponseException but there is no way to set the actual / previous exception when extending this class?

@taylorotwell taylorotwell merged commit 6a942d1 into laravel:11.x Jul 1, 2024
28 checks passed
@hafezdivandari hafezdivandari deleted the 10.x-http-response-exception-previous branch July 2, 2024 04:38
@hafezdivandari hafezdivandari changed the title [10.x] Set previous exception on HttpResponseException [11.x] Set previous exception on HttpResponseException Jul 2, 2024
@hafezdivandari hafezdivandari restored the 10.x-http-response-exception-previous branch July 2, 2024 05:02
@hafezdivandari hafezdivandari deleted the 10.x-http-response-exception-previous branch July 2, 2024 06:58
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.

None yet

4 participants