Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ LITE_get_last_error_code
Function
LITE_get_last_error_code
lite/lite-c/src/global.cpp:38–41 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
}
37
38
ErrorCode LITE_get_last_error_code() {
39
LITE_LOCK_GUARD(mtx_error);
40
return get_global_error().get_error_code();
41
}
42
43
void LITE_clear_last_error() {
44
LITE_LOCK_GUARD(mtx_error);
Callers
1
TEST
Function · 0.85
Calls
1
get_error_code
Method · 0.80
Tested by
1
TEST
Function · 0.68