Skip to content

Instantly share code, notes, and snippets.

@eliezedeck
Created May 27, 2015 15:19
Show Gist options
  • Save eliezedeck/b803fd84be562e34472e to your computer and use it in GitHub Desktop.
Save eliezedeck/b803fd84be562e34472e to your computer and use it in GitHub Desktop.
## Exception handling
try:
raise newException(IOError, "the drive is dirty")
except IOError:
echo "I/O error: " & getCurrentExceptionMsg()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment