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

stop lying about MethodErrors #200

Open
simeonschaub opened this issue Jul 29, 2021 · 0 comments
Open

stop lying about MethodErrors #200

simeonschaub opened this issue Jul 29, 2021 · 0 comments

Comments

@simeonschaub
Copy link
Member

simeonschaub commented Jul 29, 2021

I noticed in JuliaDiff/ChainRules.jl#463 that the MethodError thrown here is wrong and doesn't include the first arg. As a more general comment, I always find it quite confusing when packages throw "fake" MethodErrors, since it can easily lead you down the wrong path. Could we just use a custom error message instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant