duckdb_appender_error

Function duckdb_appender_error 

Source
pub unsafe extern "C" fn duckdb_appender_error(
    appender: duckdb_appender,
) -> *const c_char
Expand description

DEPRECATION NOTICE**: This method is scheduled for removal in a future release. Use duckdb_appender_error_data instead.

Returns the error message associated with the 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.

@param appender The appender to get the error from. @return The error message, or nullptr if there is none.