MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / setLastError

Method setLastError

Engine/source/sim/netConnection.cpp:682–694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

680String NetConnection::mErrorBuffer;
681
682void NetConnection::setLastError(const char *fmt, ...)
683{
684 va_list argptr;
685 va_start(argptr, fmt);
686 mErrorBuffer = String::ToString(fmt, argptr);
687 va_end(argptr);
688
689#ifdef TORQUE_DEBUG_NET
690 // setLastErrors assert in net_debug builds
691 AssertFatal(false, mErrorBuffer.c_str());
692#endif
693
694}
695
696//--------------------------------------------------------------------
697

Callers 9

unpackUpdateMethod · 0.45
unpackMethod · 0.45
unpackUpdateMethod · 0.45
unpackUpdateMethod · 0.45
unpackUpdateMethod · 0.45
unpackUpdateMethod · 0.45
unpackUpdateMethod · 0.45
unpackMethod · 0.45
unpackUpdateMethod · 0.45

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected