feat: improve error handling

This commit is contained in:
Vyacheslav1557 2024-08-23 04:02:14 +05:00
parent af9ab60092
commit e6299c0010
4 changed files with 21 additions and 15 deletions

View file

@ -83,15 +83,6 @@ func location(skip int) string {
return fmt.Sprintf("%s:%d", file, line)
}
var (
ErrBadRole = errors.New("bad role")
)
var (
ErrBadTestingStrategy = errors.New("bad testing strategy")
ErrBadResult = errors.New("bad result")
)
type Error struct {
src error
layer layer