[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 02/11: HTTPError
From: |
gnunet |
Subject: |
[taler-taler-ios] 02/11: HTTPError |
Date: |
Sat, 21 Oct 2023 21:10:00 +0200 |
This is an automated email from the git hooks/post-receive script.
marc-stibane pushed a commit to branch master
in repository taler-ios.
commit 49524f0959365952fc1797908e6c42649668b519
Author: Marc Stibane <marc@taler.net>
AuthorDate: Fri Oct 20 08:24:54 2023 +0200
HTTPError
---
TalerWallet1/Model/Model+Exchange.swift | 9 ---------
TalerWallet1/Model/WalletModel.swift | 10 ++++++++++
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/TalerWallet1/Model/Model+Exchange.swift
b/TalerWallet1/Model/Model+Exchange.swift
index 7ac8d72..1ab91f4 100644
--- a/TalerWallet1/Model/Model+Exchange.swift
+++ b/TalerWallet1/Model/Model+Exchange.swift
@@ -60,15 +60,6 @@ struct ExchangeError: Codable, Hashable {
var error: HTTPError
}
-struct HTTPError: Codable, Hashable {
- var code: Int
- var requestUrl: String?
- var hint: String
- var requestMethod: String?
- var httpStatusCode: Int?
- var when: Timestamp?
- var stack: String?
-}
// MARK: -
/// A request to list exchanges.
fileprivate struct ListExchanges: WalletBackendFormattedRequest {
diff --git a/TalerWallet1/Model/WalletModel.swift
b/TalerWallet1/Model/WalletModel.swift
index 6a24d8e..f480632 100644
--- a/TalerWallet1/Model/WalletModel.swift
+++ b/TalerWallet1/Model/WalletModel.swift
@@ -3,12 +3,22 @@
* See LICENSE.md
*/
import Foundation
+import taler_swift
import SymLog
import os.log
fileprivate let DATABASE = "talerwalletdb-v30"
fileprivate let ASYNCDELAY: UInt = 0 //set e.g to 6 or 9 seconds for
debugging
+struct HTTPError: Codable, Hashable {
+ var code: Int
+ var requestUrl: String?
+ var hint: String
+ var requestMethod: String?
+ var httpStatusCode: Int?
+ var when: Timestamp?
+ var stack: String?
+}
// MARK: -
/// The "virtual" base class for all models
class WalletModel: ObservableObject {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] branch master updated (adfc919 -> a0c6bdb), gnunet, 2023/10/21
- [taler-taler-ios] 10/11: Use CurrencyFormatter for Balance, gnunet, 2023/10/21
- [taler-taler-ios] 11/11: Minimalistic, gnunet, 2023/10/21
- [taler-taler-ios] 06/11: listExchangesForScopedCurrency, gnunet, 2023/10/21
- [taler-taler-ios] 04/11: cleanup, gnunet, 2023/10/21
- [taler-taler-ios] 01/11: CurrencySpecification, gnunet, 2023/10/21
- [taler-taler-ios] 03/11: ExchangeListItem, gnunet, 2023/10/21
- [taler-taler-ios] 05/11: getCurrencyInfo(scope), gnunet, 2023/10/21
- [taler-taler-ios] 02/11: HTTPError,
gnunet <=
- [taler-taler-ios] 09/11: Call AboutView, gnunet, 2023/10/21
- [taler-taler-ios] 08/11: AboutView, gnunet, 2023/10/21
- [taler-taler-ios] 07/11: cache currency infos, gnunet, 2023/10/21