MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / check_config_error

Function check_config_error

tiledb/sm/cpp_api/utils.h:388–396  ·  view source on GitHub ↗

Check an error, free, and throw if there is one. **/

Source from the content-addressed store, hash-verified

386
387/** Check an error, free, and throw if there is one. **/
388inline void check_config_error(tiledb_error_t* err) {
389 if (err != nullptr) {
390 const char* msg_cstr;
391 tiledb_error_message(err, &msg_cstr);
392 std::string msg = "Config Error: " + std::string(msg_cstr);
393 tiledb_error_free(&err);
394 throw TileDBError(msg);
395 }
396}
397
398} // namespace impl
399

Callers 7

ConfigMethod · 0.85
save_to_fileMethod · 0.85
ConfigClass · 0.85
getMethod · 0.85
create_configMethod · 0.85
initMethod · 0.85
config.hFile · 0.85

Calls 3

tiledb_error_messageFunction · 0.85
tiledb_error_freeFunction · 0.85
TileDBErrorClass · 0.85

Tested by

no test coverage detected