Skip to content

Instantly share code, notes, and snippets.

@Plutor
Created February 25, 2015 14:53
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 Plutor/299cc80cc07c0093e668 to your computer and use it in GitHub Desktop.
Save Plutor/299cc80cc07c0093e668 to your computer and use it in GitHub Desktop.
Result result;
if (!Something(&result)) {
HandleError();
}
result, error = something()
if error != nil {
handle_error()
}
try:
Something();
except:
HandleError();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment