getMessage() . "\n"; echo "Stack trace:\n" . $e->getTraceAsString() . "\n"; }