Skip to content

Instantly share code, notes, and snippets.

@davecheney
Last active August 29, 2015 14:01
Show Gist options
  • Select an option

  • Save davecheney/94042f55b412dfcada75 to your computer and use it in GitHub Desktop.

Select an option

Save davecheney/94042f55b412dfcada75 to your computer and use it in GitHub Desktop.
errors
If a function returns a value and an error, then you can’t assume anything
about the value until you’ve inspected the error.
The only place that may be acceptable to ignore the value of error is
when you don’t care about the other values returned.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment