MCPcopy Create free account
hub / github.com/KikoPlayProject/KikoPlay / error

Method error

Extension/Modules/lua_appnet.cpp:430–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428}
429
430int RequestData::error(lua_State *L)
431{
432 RequestData *d = checkItem(L, 1);
433 if (!d || !d->reply)
434 {
435 lua_pushnil(L);
436 return 1;
437 }
438 const QString err = d->reply->errorString();
439 lua_pushstring(L, err.toUtf8().constData());
440 return 1;
441}
442
443int RequestData::extra(lua_State *L)
444{

Callers 15

rpcCallMethod · 0.80
postMethod · 0.80
replyFinishedMethod · 0.80
replyErrorMethod · 0.80
checkMethod · 0.80
httpGetMethod · 0.80
httpPostMethod · 0.80
httpGetBatchMethod · 0.80
httpHeadMethod · 0.80
requestMethod · 0.80
DPlayer.min.jsFile · 0.80
oFunction · 0.80

Calls 2

lua_pushnilFunction · 0.85
lua_pushstringFunction · 0.85

Tested by

no test coverage detected