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

Implementing Is(err) bool to support Go 1.13 style error checking #136

Merged
merged 3 commits into from Jan 19, 2022

Commits on Nov 30, 2021

  1. Implementing Is(err) bool to support Go 1.13 style error checking

    Fixes #135 by implementing `Is(err) bool` for the `ValidationError`. It both checks
    for the actual inner error message as well as our error flags for maximum backwards compatibility
    oxisto committed Nov 30, 2021
    Copy the full SHA
    278eb3c View commit details
    Browse the repository at this point in the history
  2. Added error checks to test

    oxisto committed Nov 30, 2021
    Copy the full SHA
    3eafb35 View commit details
    Browse the repository at this point in the history
  3. Added remaining error messages

    oxisto committed Nov 30, 2021
    Copy the full SHA
    b44ad0a View commit details
    Browse the repository at this point in the history