From 8c33e05bf08976403719a17b1faf424109a7eaa5 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 1 Sep 2020 18:27:22 +0530 Subject: harmonized error codes --- .../taler-wallet-core/src/types/notifications.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'packages/taler-wallet-core/src/types/notifications.ts') diff --git a/packages/taler-wallet-core/src/types/notifications.ts b/packages/taler-wallet-core/src/types/notifications.ts index 945b86eea..0196cebf1 100644 --- a/packages/taler-wallet-core/src/types/notifications.ts +++ b/packages/taler-wallet-core/src/types/notifications.ts @@ -22,7 +22,7 @@ /** * Imports. */ -import { OperationErrorDetails } from "./walletTypes"; +import { TalerErrorDetails } from "./walletTypes"; import { WithdrawalSource } from "./dbTypes"; export const enum NotificationType { @@ -154,32 +154,32 @@ export interface RefundFinishedNotification { export interface ExchangeOperationErrorNotification { type: NotificationType.ExchangeOperationError; - error: OperationErrorDetails; + error: TalerErrorDetails; } export interface RefreshOperationErrorNotification { type: NotificationType.RefreshOperationError; - error: OperationErrorDetails; + error: TalerErrorDetails; } export interface RefundStatusOperationErrorNotification { type: NotificationType.RefundStatusOperationError; - error: OperationErrorDetails; + error: TalerErrorDetails; } export interface RefundApplyOperationErrorNotification { type: NotificationType.RefundApplyOperationError; - error: OperationErrorDetails; + error: TalerErrorDetails; } export interface PayOperationErrorNotification { type: NotificationType.PayOperationError; - error: OperationErrorDetails; + error: TalerErrorDetails; } export interface ProposalOperationErrorNotification { type: NotificationType.ProposalOperationError; - error: OperationErrorDetails; + error: TalerErrorDetails; } export interface TipOperationErrorNotification { @@ -188,17 +188,17 @@ export interface TipOperationErrorNotification { export interface WithdrawOperationErrorNotification { type: NotificationType.WithdrawOperationError; - error: OperationErrorDetails; + error: TalerErrorDetails; } export interface RecoupOperationErrorNotification { type: NotificationType.RecoupOperationError; - error: OperationErrorDetails; + error: TalerErrorDetails; } export interface ReserveOperationErrorNotification { type: NotificationType.ReserveOperationError; - error: OperationErrorDetails; + error: TalerErrorDetails; } export interface ReserveCreatedNotification { -- cgit v1.2.3