xorm/error.go
Lunny Xiao f238bb9d07
All checks were successful
continuous-integration/drone/push Build is passing
Improve insert (#1583)
Improve insert

Reviewed-on: #1583
2020-03-08 05:14:28 +00:00

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")
)