pub type GenericContractError = ContractError<Infallible>;Aliased Type§
pub 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.
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.