erigon-pulse/cmd/ef-tests-cl/spectest/errors.go
a 9644e6d220
Implement SpecTests in native go, add fork_choice handler (#7422)
a few TODO: remain to make this not a draft

---------

Co-authored-by: Giulio <giulio.rebuffo@gmail.com>
2023-05-02 16:19:22 +02:00

19 lines
412 B
Go

package spectest
import (
"errors"
"fmt"
)
var ErrorHandlerNotFound = errors.New("handler not found")
func ErrHandlerNotFound(handler string) error {
return fmt.Errorf("%w: %s", ErrorHandlerNotFound, handler)
}
var ErrorHandlerNotImplemented = errors.New("handler not implemented")
func ErrHandlerNotImplemented(handler string) error {
return fmt.Errorf("%w: %s", ErrorHandlerNotImplemented, handler)
}