forked from xormplus/xorm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror.go
23 lines (20 loc) · 968 Bytes
/
error.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package xorm
import (
"errors"
)
var (
ErrParamsType error = errors.New("Params type error")
ErrParamsFormat error = errors.New("Params format error")
ErrTableNotFound error = errors.New("Not found table")
ErrUnSupportedType error = errors.New("Unsupported type error")
ErrNotExist error = errors.New("Not exist error")
ErrCacheFailed error = errors.New("Cache failed")
ErrNeedDeletedCond error = errors.New("Delete need at least one condition")
ErrNotImplemented error = errors.New("Not implemented.")
ErrNotInTransaction error = errors.New("Not in transaction.")
ErrNestedTransaction error = errors.New("Nested transaction error.")
ErrTransactionDefinition error = errors.New("Transaction definition error.")
)