marcboeker / go-duckdb

go-duckdb provides a database/sql driver for the DuckDB database engine.
MIT License
583 stars 96 forks source link

Generalise exported Error #241

Closed taniabogatsch closed 2 weeks ago

taniabogatsch commented 2 weeks ago

Follow-up to https://github.com/marcboeker/go-duckdb/pull/239. This is a small, breaking change to the exported name.

@apocelipes, these changes make the new error type less verbose outside the package and generalize possible error types. For example, instead of duckdb.DuckDBError, it'll read duckdb.Error.