aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/operation.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-01-19 17:09:09 -0300
committerSebastian <sebasjm@gmail.com>2024-01-19 17:09:52 -0300
commita04e822af063951d39f4ddc597cd163037cb5010 (patch)
tree6993f8a5fea1c029d3c87eef49bcb99ed48c5b3e /packages/taler-util/src/operation.ts
parentef4cc1a1ca568cf9e43964ca20bfc0b8c07a41e5 (diff)
downloadwallet-core-a04e822af063951d39f4ddc597cd163037cb5010.tar.gz
wallet-core-a04e822af063951d39f4ddc597cd163037cb5010.tar.bz2
wallet-core-a04e822af063951d39f4ddc597cd163037cb5010.zip
fixes #8146
Diffstat (limited to 'packages/taler-util/src/operation.ts')
-rw-r--r--packages/taler-util/src/operation.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/taler-util/src/operation.ts b/packages/taler-util/src/operation.ts
index fd31fce39..6656a20f2 100644
--- a/packages/taler-util/src/operation.ts
+++ b/packages/taler-util/src/operation.ts
@@ -61,10 +61,6 @@ export async function opKnownTalerFailure<T extends TalerErrorCode>(s: T, resp:
const detail = await readTalerErrorResponse(resp)
return { type: "fail", case: s, detail }
}
-export async function opKnownFailure<T extends string>(s: T, resp: HttpResponse): Promise<OperationFail<T>> {
- const detail = await readTalerErrorResponse(resp)
- return { type: "fail", case: s, detail }
-}
export function opUnknownFailure(resp: HttpResponse, text: string): never {
throw TalerError.fromDetail(