MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / clear_error

Method clear_error

lite/lite-c/src/global.cpp:15–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 }
14
15 void clear_error() {
16 error_code = ErrorCode::OK;
17 error_msg.clear();
18 }
19
20private:
21 std::string error_msg;

Callers 1

LITE_clear_last_errorFunction · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected