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] Introduce MixFileNotFoundException for handling missing Mix files #52400

Merged
merged 3 commits into from
Aug 6, 2024
Merged

Conversation

Ex10Dios
Copy link
Contributor

@Ex10Dios Ex10Dios commented Aug 6, 2024

This PR introduces a new MixFileNotFoundException to specifically handle missing Mix files. This custom exception extends the base \Exception class and provides a more precise error handling mechanism for scenarios where the Mix file cannot be found.

It will be usefull when you want to suppress specific errors report went the application in maintenance mode.

@rodrigopedra
Copy link
Contributor

What about extending \RuntimeException instead?

@taylorotwell taylorotwell merged commit 5e5cbc7 into laravel:11.x Aug 6, 2024
29 checks passed
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.

3 participants