erigon-pulse/spectest/errors.go
a cda14447ad
[caplin] pkg refactor (#7507)
Co-authored-by: Giulio <giulio.rebuffo@gmail.com>
2023-05-13 23:44:07 +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)
}