-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherrors.go
20 lines (18 loc) · 819 Bytes
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package andromeda
import "errors"
var (
// ErrQuotaNotFound is error for quota not found
ErrQuotaNotFound = errors.New("quota not found")
// ErrAddQuotaUsage is error for add quota usage
ErrAddQuotaUsage = errors.New("error adding quota usage")
// ErrReduceQuotaUsage is error for reduce quota usage
ErrReduceQuotaUsage = errors.New("error reducing quota usage")
// ErrQuotaLimitExceeded is error for quota exceeded
ErrQuotaLimitExceeded = errors.New("quota limit exceeded")
// ErrInvalidMinQuotaUsage is error for invalid minimum quota usage
ErrInvalidMinQuotaUsage = errors.New("invalid minimum quota usage")
// ErrLockedKey is error for locked key
ErrLockedKey = errors.New("locked key")
// ErrMaxRetryExceeded is error for max retry exceeded
ErrMaxRetryExceeded = errors.New("max retry exceeded")
)