function ufront_api_UFAsyncApi_1(&$_g, &$args, &$callApi, &$flags, &$method, &$pos, &$remotingCallString, $e)
{
    $stack = haxe_CallStack::toString(haxe_CallStack::exceptionStack());
    $remotingError = ufront_remoting_RemotingError::RServerSideException($remotingCallString, $e, $stack);
    return ufront_core_SurpriseTools::asBadSurprise(ufront_web_HttpError::remotingError($remotingError, $pos));
}