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/transactionsTypes.ts | |
parent | f8d12f7b0d4af1b1769b89e80c87f9c169678564 (diff) | |
download | wallet-core-5d23eb36354d07508a015531f298b3e261bbafce.tar.xz |
wallet: improve error handling and error codes
Diffstat (limited to 'packages/taler-util/src/transactionsTypes.ts')
-rw-r--r-- | packages/taler-util/src/transactionsTypes.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-util/src/transactionsTypes.ts b/packages/taler-util/src/transactionsTypes.ts index bccbc7737..b9a227b68 100644 --- a/packages/taler-util/src/transactionsTypes.ts +++ b/packages/taler-util/src/transactionsTypes.ts @@ -42,7 +42,7 @@ import { codecForList, codecForAny, } from "./codec.js"; -import { TalerErrorDetails } from "./walletTypes.js"; +import { TalerErrorDetail } from "./walletTypes.js"; export interface TransactionsRequest { /** @@ -92,7 +92,7 @@ export interface TransactionCommon { // Amount added or removed from the wallet's balance (including all fees and other costs) amountEffective: AmountString; - error?: TalerErrorDetails; + error?: TalerErrorDetail; } export type Transaction = |