mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-21 19:20:39 +00:00
cda14447ad
Co-authored-by: Giulio <giulio.rebuffo@gmail.com>
19 lines
412 B
Go
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)
|
|
}
|