I'm building my first app in laravel 5.4 and I did a custom 500 error view (resource/error/500.blade.php)
and I was wondering if there is any way that I could force the error.
Obviously nobody would want to have this error, but I was just wondering how would it look if it occurs.
Thanks in advance
Add abort(500)
snippet somewhere in the flow your testing to view the page.