-
Notifications
You must be signed in to change notification settings - Fork 114
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
More helpful errors #483
Comments
Yeah the signature of Having a method that throws an error if a type is passed rather than an instance for the distribution could make sense. We could almost allow passing either... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The error here was caused by forgetting to add a distribution. However, it might not be immediately clear to a user that the problem is a missing argument for
glm
(notfit
). We could improve this by throwing an error sayingglm
requires a distribution.Passing a type rather than a distribution caused the error here, but this is also not clear for a new user.
The text was updated successfully, but these errors were encountered: