"throw $e" instead of echo and exit;