-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrors.go
More file actions
28 lines (26 loc) · 1.68 KB
/
Copy patherrors.go
File metadata and controls
28 lines (26 loc) · 1.68 KB
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
27
28
package hazedb
import "errors"
var (
ErrDuplicatePK = errors.New("hazedb: duplicate primary key")
ErrUnknownTable = errors.New("hazedb: unknown table")
ErrUnknownColumn = errors.New("hazedb: unknown column")
ErrTypeMismatch = errors.New("hazedb: type mismatch")
ErrParamMismatch = errors.New("hazedb: parameter count mismatch")
ErrPKUpdate = errors.New("hazedb: UPDATE on PK column not supported")
ErrParse = errors.New("hazedb: parse error")
ErrUnindexedJoin = errors.New("hazedb: JOIN requires an index on the join column")
ErrWALCorrupt = errors.New("hazedb: WAL corrupted")
ErrWALVersion = errors.New("hazedb: WAL version mismatch")
ErrTableExists = errors.New("hazedb: table already exists")
ErrTxUnsupported = errors.New("hazedb: operation not supported in a transaction")
ErrTxConflict = errors.New("hazedb: table changed (dropped/recreated) during the transaction")
ErrBatchTooLarge = errors.New("hazedb: atomic batch too large")
ErrCapacity = errors.New("hazedb: store byte capacity exceeded")
ErrReservedName = errors.New("hazedb: table name uses the reserved _hz_ prefix")
ErrCompanionInMemory = errors.New("hazedb: companion must be an on-disk file, not in-memory")
ErrClosed = errors.New("hazedb: database is closed")
ErrMirrorSchema = errors.New("hazedb: mirror schema mismatch; migration required")
ErrMirrorCorrupt = errors.New("hazedb: SQLite mirror corrupted")
ErrTooManyTables = errors.New("hazedb: table count exceeds the uint16 table-id limit")
ErrCatalogTooLarge = errors.New("hazedb: catalog name or count exceeds the uint16 WAL-codec limit")
)