summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/notifications.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-12-13 09:18:38 +0100
committerFlorian Dold <florian@dold.me>2023-12-13 09:18:38 +0100
commit496ebe7cce1df7ff0ca89d8873348d8e65943e51 (patch)
treebcd52ccbf5afd307b1546f2f01ee18f50add0878 /packages/taler-util/src/notifications.ts
parent9e40b0372c7c6e82425c30ca3acc635a79e09998 (diff)
downloadwallet-core-496ebe7cce1df7ff0ca89d8873348d8e65943e51.tar.gz
wallet-core-496ebe7cce1df7ff0ca89d8873348d8e65943e51.tar.bz2
wallet-core-496ebe7cce1df7ff0ca89d8873348d8e65943e51.zip
-comments
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;
}