mirror of
https://github.com/go-gitea/gitea.git
synced 2024-10-29 08:17:31 -04:00
c61b902538
* Upgrade xorm to v1.0.0 * small nit * Fix tests * Update xorm * Update xorm * fix go.sum * fix test * Fix bug when dump * Fix bug * update xorm to latest * Fix migration test * update xorm to latest * Fix import order * Use xorm tag
25 lines
766 B
Go
25 lines
766 B
Go
// 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 params error
|
|
ErrParamsType = errors.New("Params type error")
|
|
// ErrTableNotFound table not found error
|
|
ErrTableNotFound = errors.New("Table not found")
|
|
// ErrUnSupportedType unsupported error
|
|
ErrUnSupportedType = errors.New("Unsupported type error")
|
|
// ErrNotExist record does not exist error
|
|
ErrNotExist = errors.New("Record does not exist")
|
|
// ErrCacheFailed cache failed error
|
|
ErrCacheFailed = errors.New("Cache failed")
|
|
// ErrConditionType condition type unsupported
|
|
ErrConditionType = errors.New("Unsupported condition type")
|
|
)
|