aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/WireGuardAppError.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-12-11 00:30:33 +0530
committerRoopesh Chander <roop@roopc.net>2018-12-11 00:34:22 +0530
commit15b6cf541205d935b6afd483af79078c14a21215 (patch)
tree0a71457f114cb1fcee74b35ab2e8e6d8a7f7bd59 /WireGuard/WireGuard/WireGuardAppError.swift
parentTunnelsManager: Don't act on status change on tunnelProviders we don't have (diff)
downloadwireguard-apple-15b6cf541205d935b6afd483af79078c14a21215.tar.xz
wireguard-apple-15b6cf541205d935b6afd483af79078c14a21215.zip
Error handling: alertText() can be nil
Indicating that no alert is to be shown for that error. Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuard/WireGuardAppError.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/WireGuardAppError.swift b/WireGuard/WireGuard/WireGuardAppError.swift
index 5289633..3e4707d 100644
--- a/WireGuard/WireGuard/WireGuardAppError.swift
+++ b/WireGuard/WireGuard/WireGuardAppError.swift
@@ -2,5 +2,5 @@
// Copyright © 2018 WireGuard LLC. All Rights Reserved.
protocol WireGuardAppError: Error {
- func alertText() -> (/* title */ String, /* message */ String)
+ func alertText() -> (/* title */ String, /* message */ String)?
}