Skip to content

Instantly share code, notes, and snippets.

@swilly22
Last active September 15, 2019 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swilly22/c6e2e2429c4dcc74058d7082060c1284 to your computer and use it in GitHub Desktop.
Save swilly22/c6e2e2429c4dcc74058d7082060c1284 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