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
Error templates ? #8851
Comments
Doubt it. There's probably some sample resources out there somewhere. Otherwise, we'd expect people to implement this as they want. |
https://github.com/GrahamCampbell/Laravel-Exceptions might be of use to you? |
Thank you for your answer and your library sounds very well :) but not realy, I'm not a huge fan of WhoopsBundle (I did an implementation for Symfony but I think Symfony Webdebug application is far more performant and complete). Does the error templating system works like in Symfony's one ? Listening on kernel exception event and then returns a view ? |
It's not just a whoops bundle. It provides a framework for massive customisation and easy setup for your errors. |
You can register your own "displayers" that know how to deal with different content types in different situations. |
This is what prod error pages for html look like out of the box: https://styleci.io/123. |
@GrahamCampbell wow ! Ok, this is clearly far from a simple implementation. Thank you, I think I will try to create a Symfony port (for fun). Good night! |
Hi,
I saw in
resources\error
folder fromlaravel/laravel
a 503 error template. Did you plan to provide a custom template for others ? Is it already the case ?The text was updated successfully, but these errors were encountered: