Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EquateErrors helper #178

Merged
merged 2 commits into from
Dec 16, 2019
Merged

Add EquateErrors helper #178

merged 2 commits into from
Dec 16, 2019

Commits on Dec 16, 2019

  1. Add EquateErrors helper

    The EquateErrors helper equates errors according to errors.Is.
    We also declare a sentinel AnyError value that matches any
    non-nil error value.
    
    This adds a dependency on golang.org/x/xerrors so that we can
    continue to suppport go1.8, which is our current minimally
    supported version of Go.
    dsnet committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    d0c9929 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    110a048 View commit details
    Browse the repository at this point in the history