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

dynamic/msgregistry: Add typed errors for lookups #386

Merged
merged 2 commits into from Mar 2, 2021

Commits on Mar 2, 2021

  1. dynamic/msgregistry: Add typed error for lookups

    Adds typed error used when looking up a
    message and finding an enum or vice versa.
    johanbrandhorst committed Mar 2, 2021
    Copy the full SHA
    6847cc5 View commit details
    Browse the repository at this point in the history
  2. Use type assertions in tests

    The errors.As syntax is not supported on pre-1.13
    versions of Go.
    johanbrandhorst committed Mar 2, 2021
    Copy the full SHA
    7d1d8e9 View commit details
    Browse the repository at this point in the history