Converts the exception to a string (HTML or plain text)
string String representation
toHtml()
toText()
public function __toString() { if (isset($_SERVER['REQUEST_URI'])) { return $this->toHtml(); } return $this->toText(); }