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

fix: make arity error message actionable #1901

Merged
merged 1 commit into from Apr 28, 2022

Commits on Apr 15, 2022

  1. fix: make arity error message actionable

    The error that is bubbled up when using a handler with the wrong number
    of arguments was an unintelligible assertion error with no info about
    what failed. This made it nearly impossible to find the problem.
    
    This change adds a better error message including contextual info so
    that this error is actionable.
    josephharrington committed Apr 15, 2022
    Copy the full SHA
    77a7ad3 View commit details
    Browse the repository at this point in the history