| 30 | } // namespace |
| 31 | |
| 32 | int LiteHandleException(const std::exception& e) { |
| 33 | LITE_LOCK_GUARD(mtx_error); |
| 34 | get_global_error().set_error_msg(e.what(), ErrorCode::LITE_INTERNAL_ERROR); |
| 35 | return -1; |
| 36 | } |
| 37 | |
| 38 | ErrorCode LITE_get_last_error_code() { |
| 39 | LITE_LOCK_GUARD(mtx_error); |
nothing calls this directly
no test coverage detected