summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/notifications.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-util/src/notifications.ts')
-rw-r--r--packages/taler-util/src/notifications.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/taler-util/src/notifications.ts b/packages/taler-util/src/notifications.ts
index 179b6b383..a5c971bdd 100644
--- a/packages/taler-util/src/notifications.ts
+++ b/packages/taler-util/src/notifications.ts
@@ -72,8 +72,15 @@ export interface ExchangeStateTransitionNotification {
*/
oldExchangeState?: ExchangeEntryState;
+ /**
+ * New state of the exchange.
+ */
newExchangeState: ExchangeEntryState;
+ /**
+ * Summary of the error that occurred when trying to update the exchange entry,
+ * if applicable.
+ */
errorInfo?: ErrorInfoSummary;
}