MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / GetLastError

Method GetLastError

src/Nazara/Core/Error.cpp:47–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 */
46
47 String Error::GetLastError(const char** file, unsigned int* line, const char** function)
48 {
49 if (file)
50 *file = s_lastErrorFile;
51
52 if (line)
53 *line = s_lastErrorLine;
54
55 if (function)
56 *function = s_lastErrorFunction;
57
58 return s_lastError;
59 }
60
61 /*!
62 * \brief Gets the last system error code

Callers 1

ExecuteInputMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected