good morning!!!!

Skip to content
Snippets Groups Projects
Commit 96bcc81a authored by José Carlos Nieto's avatar José Carlos Nieto
Browse files

Adding ErrTooManyClients and ErrGivingUpTryingToConnect errors.

parent f0ed0447
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,8 @@ var (
ErrUnsupportedType = errors.New(`This type does not support marshaling.`)
ErrUnsupportedValue = errors.New(`This value does not support unmarshaling.`)
ErrUnknownConditionType = errors.New(`Arguments of type %T can't be used as constraints.`)
ErrTooManyClients = errors.New(`Can't connect to database server: too many clients.`)
ErrGivingUpTryingToConnect = errors.New(`Giving up trying to connect: too many clients.`)
)
// Deprecated but kept for backwards compatibility. See: https://github.com/upper/db/issues/18
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment