MCPcopy Create free account
hub / github.com/duckdb/duckdb / SetError

Method SetError

src/main/capi/file_system-c.cpp:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 }
11
12 void SetError(const char *message) {
13 error_data = ErrorData(ExceptionType::IO, message);
14 }
15 void SetError(const std::exception &ex) {
16 error_data = ErrorData(ex);
17 }

Callers 11

duckdb_fetch_chunkFunction · 0.45
duckdb_file_system_openFunction · 0.45
duckdb_file_handle_readFunction · 0.45
duckdb_file_handle_writeFunction · 0.45
duckdb_file_handle_tellFunction · 0.45
duckdb_file_handle_sizeFunction · 0.45
duckdb_file_handle_seekFunction · 0.45
duckdb_file_handle_syncFunction · 0.45
duckdb_file_handle_closeFunction · 0.45

Calls 1

ErrorDataClass · 0.50

Tested by

no test coverage detected