Skip to content

Instantly share code, notes, and snippets.

@Plutor
Created February 25, 2015 14:53
Show Gist options
  • 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