diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2019-12-23 13:09:57 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2020-01-03 11:40:30 +0100 |
| commit | 600eb998ae5bd89ce9b87503ee5a9900a41b1761 (patch) | |
| tree | 0d10066f41bb7c1e7db91a10d29f8c6ba43667f1 /ios/MullvadVPN/RelayCache.swift | |
| parent | f9f4b83df67081af4758a8a8d8f796803c055705 (diff) | |
| download | mullvadvpn-600eb998ae5bd89ce9b87503ee5a9900a41b1761.tar.xz mullvadvpn-600eb998ae5bd89ce9b87503ee5a9900a41b1761.zip | |
Scope MullvadAPIError into MullavdAPI as Error and add response codes expected from MullvadAPI
Diffstat (limited to 'ios/MullvadVPN/RelayCache.swift')
| -rw-r--r-- | ios/MullvadVPN/RelayCache.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/MullvadVPN/RelayCache.swift b/ios/MullvadVPN/RelayCache.swift index c80356da11..4c8fefbd92 100644 --- a/ios/MullvadVPN/RelayCache.swift +++ b/ios/MullvadVPN/RelayCache.swift @@ -15,8 +15,8 @@ enum RelayCacheError: Error { case defaultLocationNotFound case io(Error) case coding(Error) - case network(MullvadAPIError) - case server(JsonRpcResponseError) + case network(MullvadAPI.Error) + case server(JsonRpcResponseError<MullvadAPI.ResponseCode>) } /// A enum describing the source of the relay list |
