Skip to main content

AppendError

Type Alias AppendError 

Source
pub type AppendError = ErrorData;
Expand description

The error type every fallible Appender operation reports.

DuckDB exposes the appender’s error two ways, and only one of them is in the stable prefix:

FeatureTypeC API
duckdb-1-5 onErrorData — message and machine-readable categoryduckdb_appender_error_data (unstable slot 408)
duckdb-1-5 offExtensionError — message onlyduckdb_appender_error (stable slot 285)

Enabling duckdb-1-5 therefore upgrades the error type in place; it does not change any method’s shape.

Aliased Type§

pub struct AppendError { /* private fields */ }