laravel controller exception message code example Example: laravel print exception message echo $e->getMessage();