Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ SetLastError
Function
SetLastError
generator/utils.cpp:33–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
{
32
std::string g_lastError;
33
void SetLastError(std::string error)
34
{
35
static std::mutex m;
36
std::lock_guard guard(m);
37
g_lastError.swap(error);
38
}
39
40
void ErrorHandler(int signum)
41
{
Callers
nothing calls this directly
Calls
1
swap
Method · 0.45
Tested by
no test coverage detected