Created
February 17, 2017 19:25
-
-
Save jzucker2/5f82e55e756e26cc8a129a97151821bc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
do { | |
try ErrorGenerator.generateAlertControllerError() | |
} catch let showError as ExampleAlertControllerError where showError == .show { | |
show(alertControllerError: showError) | |
} catch { | |
fatalError(error.localizedDescription) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment