alloy_sol_types

Type Alias GenericContractError

Source
pub type GenericContractError = ContractError<Infallible>;
Expand description

A generic contract error.

Contains a Revert or Panic error.

Aliased Type§

enum GenericContractError {
    CustomError(Infallible),
    Revert(Revert),
    Panic(Panic),
}

Variants§

§

CustomError(Infallible)

A contract’s custom error.

§

Revert(Revert)

A generic revert. See Revert for more information.

§

Panic(Panic)

A panic. See Panic for more information.