Skip to content

Instantly share code, notes, and snippets.

@swilly22
Created September 14, 2019 21:04
Show Gist options
  • Save swilly22/0a20e93f5dfbb0493ee5113bc2fe2962 to your computer and use it in GitHub Desktop.
Save swilly22/0a20e93f5dfbb0493ee5113bc2fe2962 to your computer and use it in GitHub Desktop.
try {
// Perform work which might throw an exception
work();
} catch (error *e) {
reportError(e);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment