public function __toString() { try { return (string) $this->call(); } catch (\Exception $e) { return 'Caught exception: ' . $e->getMessage() . "\n"; } }