-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patherrors.go
18 lines (16 loc) · 894 Bytes
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package evmc
import "errors"
var (
ErrPendingBlockNotSupported = errors.New("pending block is not supported")
ErrWebsocketRequired = errors.New("websocket is required for subscriptions")
ErrWalletRequired = errors.New("wallet is required")
ErrTxGasLimitZero = errors.New("gas limit is zero")
ErrTxGasPriceZero = errors.New("gas price is zero")
ErrTxValueLessThanZero = errors.New("value less than zero")
ErrTxMaxFeePerGasZero = errors.New("max fee per gas is zero")
ErrTxMaxPriorityFeePerGasZero = errors.New("max priority fee per gas is zero")
ErrFromRequired = errors.New("from address is required")
ErrToRequired = errors.New("to address is required")
ErrTxRequired = errors.New("tx is required")
ErrInvalidRange = errors.New("invalid range from > to")
)