2016-11-04 06:16:01 +08:00
|
|
|
// 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 (
|
2020-06-16 04:46:01 +08:00
|
|
|
// ErrPtrSliceType represents a type error
|
|
|
|
ErrPtrSliceType = errors.New("A point to a slice is needed")
|
2017-01-03 16:20:28 +08:00
|
|
|
// ErrParamsType params error
|
|
|
|
ErrParamsType = errors.New("Params type error")
|
|
|
|
// ErrTableNotFound table not found error
|
2018-07-20 10:10:17 +08:00
|
|
|
ErrTableNotFound = errors.New("Table not found")
|
2017-01-03 16:20:28 +08:00
|
|
|
// ErrUnSupportedType unsupported error
|
|
|
|
ErrUnSupportedType = errors.New("Unsupported type error")
|
2018-07-20 10:10:17 +08:00
|
|
|
// ErrNotExist record does not exist error
|
|
|
|
ErrNotExist = errors.New("Record does not exist")
|
2017-01-03 16:20:28 +08:00
|
|
|
// ErrCacheFailed cache failed error
|
|
|
|
ErrCacheFailed = errors.New("Cache failed")
|
2018-01-27 23:20:59 +08:00
|
|
|
// ErrConditionType condition type unsupported
|
2018-07-20 10:10:17 +08:00
|
|
|
ErrConditionType = errors.New("Unsupported condition type")
|
2016-11-04 06:16:01 +08:00
|
|
|
)
|