The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
woop/internal/hmyapi/apiv2/error.go

18 lines
749 B

package apiv2
import (
"errors"
)
var (
// ErrInvalidLogLevel when invalid log level is provided
ErrInvalidLogLevel = errors.New("invalid log level")
// ErrIncorrectChainID when ChainID does not match running node
ErrIncorrectChainID = errors.New("incorrect chain id")
// ErrInvalidChainID when ChainID of signer does not match that of running node
ErrInvalidChainID = errors.New("invalid chain id for signer")
// ErrNotBeaconShard when rpc is called on not beacon chain node
ErrNotBeaconShard = errors.New("cannot call this rpc on non beaconchain node")
// ErrRequestedBlockTooHigh when given block is greater than latest block number
ErrRequestedBlockTooHigh = errors.New("requested block number greater than current block number")
)