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

Provide IsUnrecognizedConstraintError #162

Merged
merged 1 commit into from
Nov 23, 2021

Commits on Nov 18, 2021

  1. Provide IsUnrecognizedConstraintError

    For decoupling frameworks and gatekeeper error handling
    (which allows using go113 error conventinos in tests), I need to remove
    the dependence of gatekeeper on error types defined in frameworks so
    these may be changed safely to raw errors (where reasonable to do so).
    
    As an intermediate, I'm adding this function so that gatekeeper can
    continue to compile, and the implementation of this method may be
    switched out in frameworks.
    
    Signed-off-by: Will Beason <willbeason@google.com>
    Will Beason committed Nov 18, 2021
    Configuration menu
    Copy the full SHA
    7700b8e View commit details
    Browse the repository at this point in the history