Esempio n. 1
0
 static function toString()
 {
     $obj = jsrt::this();
     if (!$obj instanceof js_error) {
         throw new js_exception(new js_typeeror());
     }
     return js_str(get_class($obj) . ": " . $obj->get("message")->toStr()->value);
 }