Function libduckdb_sys::duckdb_result_error [−][src]
pub unsafe extern "C" fn duckdb_result_error(
result: *mut duckdb_result
) -> *mut c_char
Expand description
Returns the error message contained within the result. The error is only set if duckdb_query
returns DuckDBError
.
The result of this function must not be freed. It will be cleaned up when duckdb_destroy_result
is called.
result: The result object to fetch the nullmask from. returns: The error of the result.