alloy_sol_types

Type Alias GenericRevertReason

Source
pub type GenericRevertReason = RevertReason<Infallible>;
Expand description

Represents the reason for a revert in a generic contract error.

Aliased Type§

enum GenericRevertReason {
    ContractError(ContractError<Infallible>),
    RawString(String),
}

Variants§

§

ContractError(ContractError<Infallible>)

A detailed contract error, including a specific revert or panic error.

§

RawString(String)

Represents a raw string message as the reason for the revert.