public function remotingError($e, $httpContext) { $httpContext->messages->push(_hx_anonymous(array("msg" => $e, "pos" => _hx_anonymous(array("fileName" => "RemotingHandler.hx", "lineNumber" => 199, "className" => "ufront.remoting.RemotingHandler", "methodName" => "remotingError")), "type" => ufront_log_MessageType::$MError))); if (ufront_remoting_RemotingHandler_4($this, $e, $httpContext)) { $s = new haxe_Serializer(); $s->serializeException($e); $serializedException = "hxe" . _hx_string_or_null($s->toString()); return $serializedException; } else { $s1 = new haxe_Serializer(); $s1->serializeException($e); return "hxr" . _hx_string_or_null($s1->toString()); } }
static function run($v) { $s = new haxe_Serializer(); $s->serialize($v); return $s->toString(); }