MCPcopy Create free account
hub / github.com/BlazingDB/blazingsql / CheckError

Function CheckError

engine/tests/allocation_pool/allocation_pool.cpp:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17template <class Callable>
18static inline void CheckError(const bool condition,
19 const std::string &message,
20 Callable &&callable) {
21 if (condition) {
22 std::forward<Callable>(callable)();
23 std::cerr << message << std::endl;
24 throw std::runtime_error(message);
25 }
26}
27
28
29struct ucx_request {

Callers 2

CreateUcpContextFunction · 0.70
TEST_FFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected