@@ -27,27 +27,28 @@ import (
27
27
28
28
// Error messages.
29
29
var (
30
- ErrNoMoreRows = errors .New (`upper: no more rows in this result set` )
31
- ErrNotConnected = errors .New (`upper: you're currently not connected` )
32
- ErrMissingDatabaseName = errors .New (`upper: missing database name` )
33
- ErrMissingCollectionName = errors .New (`upper: missing collection name` )
34
- ErrCollectionDoesNotExist = errors .New (`upper: collection does not exist` )
35
- ErrSockerOrHost = errors .New (`upper: you may connect either to a unix socket or a tcp address, but not both` )
36
- ErrQueryLimitParam = errors .New (`upper: a query can accept only one limit parameter` )
37
- ErrQuerySortParam = errors .New (`upper: a query can accept only one order by parameter` )
38
- ErrQueryOffsetParam = errors .New (`upper: a query can accept only one offset parameter` )
39
- ErrMissingConditions = errors .New (`upper: missing selector conditions` )
40
- ErrUnsupported = errors .New (`upper: this action is currently unsupported on this database` )
41
- ErrUndefined = errors .New (`upper: this value is undefined` )
42
- ErrQueryIsPending = errors .New (`upper: can't execute this instruction while the result set is still open` )
43
- ErrUnsupportedDestination = errors .New (`upper: unsupported destination type` )
44
- ErrUnsupportedType = errors .New (`upper: this type does not support marshaling` )
45
- ErrUnsupportedValue = errors .New (`upper: this value does not support unmarshaling` )
46
- ErrUnknownConditionType = errors .New (`upper: arguments of type %T can't be used as constraints` )
47
- ErrTooManyClients = errors .New (`upper: can't connect to database server: too many clients` )
48
- ErrGivingUpTryingToConnect = errors .New (`upper: giving up trying to connect: too many clients` )
49
- ErrMissingConnURL = errors .New (`upper: missing DSN` )
50
- ErrNotImplemented = errors .New (`upper: call not implemented` )
51
- ErrAlreadyWithinTransaction = errors .New (`upper: already within a transaction` )
52
- ErrServerRefusedConnection = errors .New (`upper: database server refused connection` )
30
+ ErrNoMoreRows = errors .New (`upper: no more rows in this result set` )
31
+ ErrNotConnected = errors .New (`upper: you're currently not connected` )
32
+ ErrMissingDatabaseName = errors .New (`upper: missing database name` )
33
+ ErrMissingCollectionName = errors .New (`upper: missing collection name` )
34
+ ErrCollectionDoesNotExist = errors .New (`upper: collection does not exist` )
35
+ ErrSockerOrHost = errors .New (`upper: you may connect either to a unix socket or a tcp address, but not both` )
36
+ ErrQueryLimitParam = errors .New (`upper: a query can accept only one limit parameter` )
37
+ ErrQuerySortParam = errors .New (`upper: a query can accept only one order by parameter` )
38
+ ErrQueryOffsetParam = errors .New (`upper: a query can accept only one offset parameter` )
39
+ ErrMissingConditions = errors .New (`upper: missing selector conditions` )
40
+ ErrUnsupported = errors .New (`upper: this action is currently unsupported on this database` )
41
+ ErrUndefined = errors .New (`upper: this value is undefined` )
42
+ ErrQueryIsPending = errors .New (`upper: can't execute this instruction while the result set is still open` )
43
+ ErrUnsupportedDestination = errors .New (`upper: unsupported destination type` )
44
+ ErrUnsupportedType = errors .New (`upper: this type does not support marshaling` )
45
+ ErrUnsupportedValue = errors .New (`upper: this value does not support unmarshaling` )
46
+ ErrUnknownConditionType = errors .New (`upper: arguments of type %T can't be used as constraints` )
47
+ ErrTooManyClients = errors .New (`upper: can't connect to database server: too many clients` )
48
+ ErrGivingUpTryingToConnect = errors .New (`upper: giving up trying to connect: too many clients` )
49
+ ErrTooManyReconnectionAttempts = errors .New (`upper: too many reconnection attempts` )
50
+ ErrMissingConnURL = errors .New (`upper: missing DSN` )
51
+ ErrNotImplemented = errors .New (`upper: call not implemented` )
52
+ ErrAlreadyWithinTransaction = errors .New (`upper: already within a transaction` )
53
+ ErrServerRefusedConnection = errors .New (`upper: database server refused connection` )
53
54
)
0 commit comments