MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / GetTwErrorString

Function GetTwErrorString

SampleFramework11/v1.02/Exceptions.h:130–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130inline std::wstring GetTwErrorString()
131{
132 std::string antError = TwGetLastError();
133 std::wstring errorString(antError.length(), ' ');
134 for(uint64 i = 0; i < antError.length(); ++i)
135 errorString[i] = antError[i];
136 return errorString;
137}
138
139inline std::string GetTwErrorStringAnsi()
140{

Callers 1

TwExceptionMethod · 0.85

Calls 1

lengthMethod · 0.80

Tested by

no test coverage detected