[][src]Enum ethcontract::errors::DeployError

pub enum DeployError {
    Web3(Web3Error),
    NotFound(String),
    Link(LinkError),
    EmptyBytecode,
    Abi(AbiError),
    Tx(ExecutionError),
    Pending(H256),
}

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.

Error linking a contract with a deployed library.

EmptyBytecode

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.

Error executing contract deployment transaction.

Pending(H256)

Transaction was unable to confirm and is still pending. The contract address cannot be determined.

Trait Implementations

impl Debug for DeployError[src]

impl Display for DeployError[src]

impl Error for DeployError[src]

impl From<Error> for DeployError[src]

impl From<Error> for DeployError[src]

impl From<ExecutionError> for DeployError[src]

impl From<LinkError> for DeployError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,