quackdb_internal::ffi

Function duckdb_appender_error

Source
pub unsafe extern "C" fn duckdb_appender_error(
    appender: *mut _duckdb_appender,
) -> *const i8
Expand description

Returns the error message associated with the given appender. If the appender has no error message, this returns nullptr instead.

The error message should not be freed. It will be de-allocated when duckdb_appender_destroy is called.

appender: The appender to get the error from. returns: The error message, or nullptr if there is none.