Function libduckdb_sys::duckdb_appender_error

source ·
pub unsafe extern "C" fn duckdb_appender_error(
    appender: duckdb_appender
) -> *const c_char
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.