Add ALREADY_SET error
This commit is contained in:
parent
0a1a7dfbcf
commit
08dc57518d
|
@ -12,6 +12,7 @@ var (
|
||||||
NOT_HANDLED = errors.New("Is not handled")
|
NOT_HANDLED = errors.New("Is not handled")
|
||||||
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")
|
||||||
)
|
)
|
||||||
|
|
||||||
func WrapErr(context string, err error) error {
|
func WrapErr(context string, err error) error {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user