summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/balance.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-01-09 20:09:54 -0300
committerSebastian <sebasjm@gmail.com>2023-01-09 20:09:54 -0300
commit8a70edb2f8e235c3462127b0aa4e1b65aa1aee0b (patch)
treecef85adaff404ecf3ad9ed823c216776bb2871e4 /packages/taler-wallet-core/src/operations/balance.ts
parentefb5bf9de465be29de06c30c9e8cd78374b7c118 (diff)
downloadwallet-core-8a70edb2f8e235c3462127b0aa4e1b65aa1aee0b.tar.gz
wallet-core-8a70edb2f8e235c3462127b0aa4e1b65aa1aee0b.tar.bz2
wallet-core-8a70edb2f8e235c3462127b0aa4e1b65aa1aee0b.zip
add 'when' to error-detail and remove error as normal response when doing backup
Diffstat (limited to 'packages/taler-wallet-core/src/operations/balance.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/balance.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/operations/balance.ts b/packages/taler-wallet-core/src/operations/balance.ts
index 383aa5dc1..2c57f8af8 100644
--- a/packages/taler-wallet-core/src/operations/balance.ts
+++ b/packages/taler-wallet-core/src/operations/balance.ts
@@ -55,6 +55,7 @@ import {
ExchangeHandle,
canonicalizeBaseUrl,
parsePaytoUri,
+ TalerErrorCode,
} from "@gnu-taler/taler-util";
import {
AllowedAuditorInfo,
@@ -66,6 +67,7 @@ import { GetReadOnlyAccess } from "../util/query.js";
import { InternalWalletState } from "../internal-wallet-state.js";
import { getExchangeDetails } from "./exchanges.js";
import { checkLogicInvariant } from "../util/invariants.js";
+import { TalerError } from "../errors.js";
/**
* Logger.