SealedOptionaloriginalError: ErrorOptionaldata: unknownOptional ReadonlycauseOptional ReadonlydataOptional structured data attached to the failure (e.g. on-chain receipt).
Optional 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.
Optionalstack
Thrown when an unexpected error occurs during a Salt ceremony (e.g. the transaction signing or message signing ceremony). Known, typed errors (e.g. ApiError, ValidationError) are re-thrown as-is; this class is only used when the failure has no more specific type.
Example: Handling ceremony failures