SealedOptional ReadonlycauseOptional ReadonlydataOptional structured data attached to the failure (e.g. on-chain receipt).
ReadonlyfailureThe code recorded as the transaction's TransactionFailureReason
when this error fails a transaction. Set by the subclasses that have one;
any other failure is recorded as unknown.
ReadonlyreceiptThe on-chain receipt, with status: 'reverted'.
OptionalstackReadonlytxHash of the reverted transaction.
Thrown by a transaction ceremony when the transaction was mined but reverted. Gas was spent and the nonce is used; nothing else changed.
The record is marked
failurewith codereverted, and the receipt is stored on it asbroadcastReceipt.Subclasses SaltCeremonyError.
Example: Inspect a revert