Change errors to use xerrors package.

This commit is contained in:
2025-05-12 20:37:58 +03:00
parent a823f5abc3
commit ad224a328e
7 changed files with 39 additions and 165 deletions

View File

@@ -0,0 +1,8 @@
package commonErrors
import "fmt"
var (
ErrBlacklistMatch = fmt.Errorf("black list match")
ErrRobotsMatch = fmt.Errorf("robots match")
)