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