Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

error.go 872B

1234567891011121314151617181920212223242526
  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. )