onTxnOperationError MethodProtected @beta
Called when doUndoOperation or doRedoOperation fails to reverse or reinstate a Txn.
onTxnOperationError(_operation: "undo" | "redo", _error: unknown): Promise<void>
@note Implementations should not throw. Any exception thrown by this method propagates to the caller of doUndoOperation or doRedoOperation.
| Parameter | Type | Description |
|---|---|---|
| _operation | "undo" | "redo" | The operation that failed. |
| _error | unknown | The error thrown by reverseSingleTxnAsync or reinstateTxnAsync. |
Returns - Promise
Defined in
- core/frontend/src/tools/ToolAdmin.ts Line 1738
Last Updated: 05 November, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.