Change errors to use xerrors package.
This commit is contained in:
8
common/errors/sentinelErrors.go
Normal file
8
common/errors/sentinelErrors.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package commonErrors
|
||||
|
||||
import "fmt"
|
||||
|
||||
var (
|
||||
ErrBlacklistMatch = fmt.Errorf("black list match")
|
||||
ErrRobotsMatch = fmt.Errorf("robots match")
|
||||
)
|
||||
Reference in New Issue
Block a user