Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
taniabogatsch committed Sep 24, 2024
1 parent ddeeff7 commit 9c9511e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,18 @@ var (
errInvalidCon = errors.New("not a DuckDB driver connection")
errClosedCon = errors.New("closed connection")

errUnsupportedMapKeyType = errors.New("MAP key type not supported")

errAppenderCreation = errors.New("could not create appender")
errAppenderClose = errors.New("could not close appender")
errAppenderDoubleClose = fmt.Errorf("%w: already closed", errAppenderClose)
errAppenderAppendRow = errors.New("could not append row")
errAppenderAppendAfterClose = fmt.Errorf("%w: appender already closed", errAppenderAppendRow)
errAppenderFlush = errors.New("could not flush appender")

errEmptyName = errors.New("empty name")
errInvalidDecimalWidth = fmt.Errorf("the DECIMAL with must be between 1 and %d", MAX_DECIMAL_WIDTH)
errInvalidDecimalScale = errors.New("the DECIMAL scale must be less than or equal to the width")
errSetSQLNULLValue = errors.New("cannot write to a NULL column")
errUnsupportedMapKeyType = errors.New("MAP key type not supported")
errEmptyName = errors.New("empty name")
errInvalidDecimalWidth = fmt.Errorf("the DECIMAL with must be between 1 and %d", MAX_DECIMAL_WIDTH)
errInvalidDecimalScale = errors.New("the DECIMAL scale must be less than or equal to the width")
errSetSQLNULLValue = errors.New("cannot write to a NULL column")

errScalarUDFCreate = errors.New("could not create scalar UDF")
errScalarUDFNoName = fmt.Errorf("%w: missing name", errScalarUDFCreate)
Expand Down

0 comments on commit 9c9511e

Please sign in to comment.