diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-09-01 18:27:22 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-09-01 18:27:22 +0530 |
commit | 8c33e05bf08976403719a17b1faf424109a7eaa5 (patch) | |
tree | 61c72737640c9b552c41f62640cfb0c8c845f38a /packages/taler-wallet-core/src/types/walletTypes.ts | |
parent | 5056da6548d5880211abd3e1cdacd92134e40dab (diff) | |
download | wallet-core-8c33e05bf08976403719a17b1faf424109a7eaa5.tar.xz |
harmonized error codesv0.7.1-dev.23
Diffstat (limited to 'packages/taler-wallet-core/src/types/walletTypes.ts')
-rw-r--r-- | packages/taler-wallet-core/src/types/walletTypes.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-wallet-core/src/types/walletTypes.ts b/packages/taler-wallet-core/src/types/walletTypes.ts index eb7d878fa..3182d50bb 100644 --- a/packages/taler-wallet-core/src/types/walletTypes.ts +++ b/packages/taler-wallet-core/src/types/walletTypes.ts @@ -214,7 +214,7 @@ export interface ConfirmPayResultDone { export interface ConfirmPayResultPending { type: ConfirmPayResultType.Pending; - lastError: OperationErrorDetails; + lastError: TalerErrorDetails; } export type ConfirmPayResult = ConfirmPayResultDone | ConfirmPayResultPending; @@ -494,9 +494,9 @@ export interface WalletDiagnostics { dbOutdated: boolean; } -export interface OperationErrorDetails { - talerErrorCode: number; - talerErrorHint: string; +export interface TalerErrorDetails { + code: number; + hint: string; message: string; details: unknown; } @@ -816,7 +816,7 @@ export interface CoreApiResponseError { type: "error"; operation: string; id: string; - error: OperationErrorDetails; + error: TalerErrorDetails; } export interface WithdrawTestBalanceRequest { |