master
Charles Iliya Krempeaux 2024-07-04 07:50:53 -07:00
parent b2ed7fa065
commit 271465c401
1 changed files with 9 additions and 0 deletions

9
is.go 100644
View File

@ -0,0 +1,9 @@
package erorr
import (
"errors"
)
func Is(err, target error) bool {
return errors.Is(err, target)
}