Documentation
¶
Index ¶
Constants ¶
View Source
const ( RetryInterval = 2 * time.Second DefaultMsgBuffer = 1000 DefaultBlocksPerScan = 100 )
Variables ¶
View Source
var ( ErrNoAnyKeyStores = errors.New("No any keystores") ErrMessagePrivateKeyNil = errors.New("PrivateKey is nil") )
Functions ¶
This section is empty.
Types ¶
type JsonRpcError ¶
type JsonRpcError struct {
Code int `json:"code"`
Message string `json:"message"`
Data interface{} `json:"data,omitempty"`
RawError string `json:"raw_error"`
Abi abi.ABI `json:"-"`
}
func (*JsonRpcError) Error ¶
func (e *JsonRpcError) Error() string
func (*JsonRpcError) ErrorCode ¶
func (err *JsonRpcError) ErrorCode() int
func (*JsonRpcError) ErrorData ¶
func (err *JsonRpcError) ErrorData() interface{}
type RevertError ¶
func (RevertError) Error ¶
func (e RevertError) Error() string
Click to show internal directories.
Click to hide internal directories.