You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

error.go 766 B

123456789101112131415161718192021222324
  1. // Copyright 2015 The Xorm Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package xorm
  5. import (
  6. "errors"
  7. )
  8. var (
  9. // ErrParamsType params error
  10. ErrParamsType = errors.New("Params type error")
  11. // ErrTableNotFound table not found error
  12. ErrTableNotFound = errors.New("Table not found")
  13. // ErrUnSupportedType unsupported error
  14. ErrUnSupportedType = errors.New("Unsupported type error")
  15. // ErrNotExist record does not exist error
  16. ErrNotExist = errors.New("Record does not exist")
  17. // ErrCacheFailed cache failed error
  18. ErrCacheFailed = errors.New("Cache failed")
  19. // ErrConditionType condition type unsupported
  20. ErrConditionType = errors.New("Unsupported condition type")
  21. )