Jason McCreary 🎻 on Twitter: "🔥 Here's an exceptional streamline available in Laravel. Instead of repetitive type checks, refactor your code to throw a custom exception. Then move the logic to the `
![Laravel exception handler doesn't handle the custom exception when thrown from the view composer · Issue #24658 · laravel/framework · GitHub Laravel exception handler doesn't handle the custom exception when thrown from the view composer · Issue #24658 · laravel/framework · GitHub](https://user-images.githubusercontent.com/28228280/43435971-11f4e1d0-94a0-11e8-9fe0-b35c19116e6d.png)
Laravel exception handler doesn't handle the custom exception when thrown from the view composer · Issue #24658 · laravel/framework · GitHub
![Ignition, the most beautiful error page for Laravel and PHP, got a major redesign - Freek Van der Herten's blog on PHP, Laravel and JavaScript Ignition, the most beautiful error page for Laravel and PHP, got a major redesign - Freek Van der Herten's blog on PHP, Laravel and JavaScript](https://freek.dev/uploads/media/ignition-2022/ignition.png)