SealedOptional 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.
ReadonlyrejectedThe policies that rejected the transaction.
Optionalstack
Thrown when a transaction is rejected by one or more account policies before signing begins. The rejectedPolicies array contains the specific policies that blocked the transaction.
Example: Checking which policies blocked a transaction