pub unsafe extern "C" fn duckdb_create_error_data(
type_: duckdb_error_type,
message: *const c_char,
) -> duckdb_error_data
Expand description
Creates duckdb_error_data.
Must be destroyed with duckdb_destroy_error_data
.
@param type The error type. @param message The error message. @return The error data.