Support the ongoing development of Laravel.io →
posted 9 years ago
Blade
Last updated 2 years ago.
0

abort doc says "Throw an HttpException with the given data." so you need to catch it on the app/handlers/Handler.php

0

On the view you can access the exception variable. Not sure about blade, but if you're using Twig for your views

{{ dump(exception) }}

{{ exception.getMessage() }}
0

Sign in to participate in this thread!

Eventy

Your banner here too?

crossRT crossrt Joined 11 Apr 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.