diff options
author | Florian Dold <florian@dold.me> | 2022-03-22 21:16:38 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-03-22 21:16:38 +0100 |
commit | 5d23eb36354d07508a015531f298b3e261bbafce (patch) | |
tree | fae0d2599c94d88c9264bb63a301adb1706824c1 /packages/taler-util/src/notifications.ts | |
parent | f8d12f7b0d4af1b1769b89e80c87f9c169678564 (diff) | |
download | wallet-core-5d23eb36354d07508a015531f298b3e261bbafce.tar.xz |
wallet: improve error handling and error codes
Diffstat (limited to 'packages/taler-util/src/notifications.ts')
-rw-r--r-- | packages/taler-util/src/notifications.ts | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/packages/taler-util/src/notifications.ts b/packages/taler-util/src/notifications.ts index e8f27062c..b3d9ad1dc 100644 --- a/packages/taler-util/src/notifications.ts +++ b/packages/taler-util/src/notifications.ts @@ -22,7 +22,7 @@ /** * Imports. */ -import { TalerErrorDetails } from "./walletTypes.js"; +import { TalerErrorDetail } from "./walletTypes.js"; export enum NotificationType { CoinWithdrawn = "coin-withdrawn", @@ -157,62 +157,62 @@ export interface ExchangeAddedNotification { export interface ExchangeOperationErrorNotification { type: NotificationType.ExchangeOperationError; - error: TalerErrorDetails; + error: TalerErrorDetail; } export interface RefreshOperationErrorNotification { type: NotificationType.RefreshOperationError; - error: TalerErrorDetails; + error: TalerErrorDetail; } export interface BackupOperationErrorNotification { type: NotificationType.BackupOperationError; - error: TalerErrorDetails; + error: TalerErrorDetail; } export interface RefundStatusOperationErrorNotification { type: NotificationType.RefundStatusOperationError; - error: TalerErrorDetails; + error: TalerErrorDetail; } export interface RefundApplyOperationErrorNotification { type: NotificationType.RefundApplyOperationError; - error: TalerErrorDetails; + error: TalerErrorDetail; } export interface PayOperationErrorNotification { type: NotificationType.PayOperationError; - error: TalerErrorDetails; + error: TalerErrorDetail; } export interface ProposalOperationErrorNotification { type: NotificationType.ProposalOperationError; - error: TalerErrorDetails; + error: TalerErrorDetail; } export interface TipOperationErrorNotification { type: NotificationType.TipOperationError; - error: TalerErrorDetails; + error: TalerErrorDetail; } export interface WithdrawOperationErrorNotification { type: NotificationType.WithdrawOperationError; - error: TalerErrorDetails; + error: TalerErrorDetail; } export interface RecoupOperationErrorNotification { type: NotificationType.RecoupOperationError; - error: TalerErrorDetails; + error: TalerErrorDetail; } export interface DepositOperationErrorNotification { type: NotificationType.DepositOperationError; - error: TalerErrorDetails; + error: TalerErrorDetail; } export interface ReserveOperationErrorNotification { type: NotificationType.ReserveOperationError; - error: TalerErrorDetails; + error: TalerErrorDetail; } export interface ReserveCreatedNotification { |