-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherrors.go
26 lines (18 loc) · 852 Bytes
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package gob
import "errors"
var (
// ErrConnClosed when Gob.Upsert is called after closing the connection
ErrConnClosed = errors.New("gob: conn closed;")
// ErrEmptyModel when Gob.Upsert is called with empty model
ErrEmptyModel = errors.New("gob: empty model;")
// ErrEmptykeys when Gob.Upsert is called with empty keys
ErrEmptykeys = errors.New("gob: empty keys;")
// ErrEmptyKeyspace when keyspace is not provided in DB URL
ErrEmptyKeyspace = errors.New("gob: empty keyspace;")
// ErrEmptyConnStr when connection string is empty
ErrEmptyConnStr = errors.New("gob: empty connection string;")
// ErrEmptyDBProvider when db provider is empty
ErrEmptyDBProvider = errors.New("gob: empty db provider;")
// ErrEmptyConflictAction when conflict action not specified
ErrEmptyConflictAction = errors.New("gob: empty conflict action;")
)