Why can't set custom message with abort()

Posted 5 months ago by DevMaster

Hello everybody,

So I'm just wondering why, with out-of-the-box laravel 5.7, abort(403, 'My custom text') sets my custom text BUT if I do the same for 404 or 500 it doesn't set my custom text?

This is unusual.

Kind regards, Dev

Please sign in or create an account to participate in this conversation.