12345678910111213141516171819202122232425262728293031 |
- package db
- import "errors"
- var (
- ErrNoneConnect = errors.New(`not connect to database`)
- )
- const (
-
- ErrOK = 0
-
- ErrException = 1
-
- ErrExists = 2
-
- ErrNotFound = 3
-
- ErrAuthorized = 4
-
- ErrNotConnect = 5
-
- ErrDataNotFound = 6
-
- ErrExpired = 7
-
- ErrInsufficientBalance = 8
-
- ErrCreditLimit = 9
- )
|