Add NOT_FOUND error
This commit is contained in:
parent
08dc57518d
commit
2faf7825e6
|
@ -13,6 +13,7 @@ var (
|
||||||
OUT_OF_BOUND = errors.New("Out of bound")
|
OUT_OF_BOUND = errors.New("Out of bound")
|
||||||
NOT_SET = errors.New("Is not set")
|
NOT_SET = errors.New("Is not set")
|
||||||
ALREADY_SET = errors.New("Already set")
|
ALREADY_SET = errors.New("Already set")
|
||||||
|
NOT_FOUND = errors.New("Was not found")
|
||||||
)
|
)
|
||||||
|
|
||||||
func WrapErr(context string, err error) error {
|
func WrapErr(context string, err error) error {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user