Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel custom abort message

php artisan vendor:publish --tag=laravel-errors

update the error page file according to the code
@section('message', __($exception->getMessage() ?: 'Server Error'))
 
PREVIOUS NEXT
Tagged: #laravel #custom #abort #message
ADD COMMENT
Topic
Name
3+2 =