Add ALREADY_SET error

This commit is contained in:
qowevisa 2024-03-21 17:23:16 +02:00
parent 0a1a7dfbcf
commit 08dc57518d

View File

@ -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 {