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

28 lines
978 B

  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("Not found table")
  13. // ErrUnSupportedType unsupported error
  14. ErrUnSupportedType = errors.New("Unsupported type error")
  15. // ErrNotExist record is not exist error
  16. ErrNotExist = errors.New("Not exist error")
  17. // ErrCacheFailed cache failed error
  18. ErrCacheFailed = errors.New("Cache failed")
  19. // ErrNeedDeletedCond delete needs less one condition error
  20. ErrNeedDeletedCond = errors.New("Delete need at least one condition")
  21. // ErrNotImplemented not implemented
  22. ErrNotImplemented = errors.New("Not implemented")
  23. // ErrConditionType condition type unsupported
  24. ErrConditionType = errors.New("Unsupported conditon type")
  25. )