Enum ethcontract::errors::DeployError [−][src]
pub enum DeployError { Web3(Web3Error), NotFound(String), Link(LinkError), EmptyBytecode, Abi(AbiError), Tx(ExecutionError), Pending(H256), }
Expand description
Error that can occur while locating a deployed contract.
Variants
Web3(Web3Error)
An error occured while performing a web3 call.
NotFound(String)
No previously deployed contract could be found on the network being used
by the current web3
provider.
Link(LinkError)
Error linking a contract with a deployed library.
Attempted to deploy a contract when empty bytecode. This can happen when attempting to deploy a contract that is actually an interface.
An error occured encoding deployment parameters with the contract ABI.
Tx(ExecutionError)
Error executing contract deployment transaction.
Pending(H256)
Transaction was unable to confirm and is still pending. The contract address cannot be determined.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for DeployError
impl Send for DeployError
impl Sync for DeployError
impl Unpin for DeployError
impl !UnwindSafe for DeployError