FailedSingleTransactionPlanResult
A SingleTransactionPlanResult with a 'failed' status.
This type represents a single transaction that failed during execution. It includes the original planned message, a context object, and the Error that caused the failure.
You may use the failedSingleTransactionPlanResult helper to create objects of this type.
Example
Creating a failed result from a transaction message and error.
See
- failedSingleTransactionPlanResult
- isFailedSingleTransactionPlanResult
- assertIsFailedSingleTransactionPlanResult
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TContext extends TransactionPlanResultContext | TransactionPlanResultContext | The type of the context object that may be passed along with the result. |
TTransactionMessage extends TransactionMessage & TransactionMessageWithFeePayer | TransactionMessage & TransactionMessageWithFeePayer | The type of the transaction message. |