Skip to content

Instantly share code, notes, and snippets.

@rmirabelli
Last active March 9, 2018 20:39
Show Gist options
  • Save rmirabelli/47f3a1d30ebea60337a3adf6a0cd26dd to your computer and use it in GitHub Desktop.
Save rmirabelli/47f3a1d30ebea60337a3adf6a0cd26dd to your computer and use it in GitHub Desktop.
A simple do-catch block. All of the code we write in this exercise will go in there.
do {
// All of our code will go inside this area.
} catch {
print(error)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment