diff options
Diffstat (limited to 'WireGuard/WireGuard/WireGuardAppError.swift')
-rw-r--r-- | WireGuard/WireGuard/WireGuardAppError.swift | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/WireGuardAppError.swift b/WireGuard/WireGuard/WireGuardAppError.swift index 3e4707d..ba83ac5 100644 --- a/WireGuard/WireGuard/WireGuardAppError.swift +++ b/WireGuard/WireGuard/WireGuardAppError.swift @@ -2,5 +2,6 @@ // Copyright © 2018 WireGuard LLC. All Rights Reserved. protocol WireGuardAppError: Error { - func alertText() -> (/* title */ String, /* message */ String)? + typealias AlertText = (title: String, message: String) + func alertText() -> AlertText } |