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.

26 lines
872 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. // ErrPtrSliceType represents a type error
  10. ErrPtrSliceType = errors.New("A point to a slice is needed")
  11. // ErrParamsType params error
  12. ErrParamsType = errors.New("Params type error")
  13. // ErrTableNotFound table not found error
  14. ErrTableNotFound = errors.New("Table not found")
  15. // ErrUnSupportedType unsupported error
  16. ErrUnSupportedType = errors.New("Unsupported type error")
  17. // ErrNotExist record does not exist error
  18. ErrNotExist = errors.New("Record does not exist")
  19. // ErrCacheFailed cache failed error
  20. ErrCacheFailed = errors.New("Cache failed")
  21. // ErrConditionType condition type unsupported
  22. ErrConditionType = errors.New("Unsupported condition type")
  23. )