Documentation ¶
Index ¶
- Variables
- func GetDialRPCErr(err error) error
- func GetEventListenErr(err error, event string) error
- func GetFilterErr(err error, contract string) error
- func GetInitContractErr(err error) error
- func GetRPCProviderErr(err error, method string) error
- func GetReadContractErr(err error, contract string, method string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // BlankRPCURLErr is used when blank rpc url is received BlankRPCURLErr = fmt.Errorf("blank rpc url") // DialPRCErr is used when error occurred while connecting to rpc provider DialPRCErr = fmt.Errorf("dial rpc error") // BlankContractAddrErr is used when blank contract address is received BlankContractAddrErr = fmt.Errorf("contract address is blank") // InvalidContractAddrErr is used when invalid contact address is received InvalidContractAddrErr = fmt.Errorf("contract address invalid") //InitContractErr is used when error occurred while contract initialization InitContractErr = fmt.Errorf("contract initialization error") // FilterErr is used when error occurred while filtering contract FilterErr = fmt.Errorf("contract filter error") // ListenEventErr is used when error occurred while event listening ListenEventErr = fmt.Errorf("event listen error") // ReadContractErr is used when error occurred while using contract view functions ReadContractErr = fmt.Errorf("contract error read") // RPCErr is used when error returned from RPC provider RPCErr = fmt.Errorf("rpc provider error") )
Functions ¶
func GetDialRPCErr ¶
func GetEventListenErr ¶
func GetFilterErr ¶
func GetInitContractErr ¶
func GetRPCProviderErr ¶ added in v0.0.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.