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>
This commit is contained in:
@@ -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)?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user