pub unsafe extern "C" fn duckdb_create_error_data(
type_: duckdb_error_type,
message: *const c_char,
) -> duckdb_error_dataExpand description
Creates duckdb_error_data. Must be destroyed with duckdb_destroy_error_data.
history:
- unstable: v1.4.0
- stable: v1.5.6
@param type The error type. @param message The error message. @return duckdb_error_data