Created
November 2, 2015 07:21
-
-
Save NetguruGist/91d23dfaefd79e7fd869 to your computer and use it in GitHub Desktop.
error10 swift
This file contains 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 divide(4, by: 0) | |
} catch DivisionError.ByZero { | |
print("Division by zero is not allowed") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment