duckdb_result_error_type

Function duckdb_result_error_type 

Source
pub unsafe extern "C" fn duckdb_result_error_type(
    result: *mut duckdb_result,
) -> duckdb_error_type
Expand description

Returns the result error type contained within the result. The error is only set if duckdb_query returns DuckDBError.

@param result The result object to fetch the error from. @return The error type of the result.