-
Notifications
You must be signed in to change notification settings - Fork 14
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
Improve error message for createInteractor #820
Comments
@minkimcello @jenweber There are a couple of options:
Hard to say which is best. |
Oh I spoke too soon earlier. I realized I can throw in the I don't think we should have an anonymous interactor. That just creates one more thing we need to explain. And I think we should throw a hard error to force people to use interactors properly. It also formats more nicely. |
Perfect! So sounds like the options are:
I kinda lean towards the (2) but don't feel strongly either way. |
If you don't pass a string to
createInteractor
, you get the following message:It would be better for this error to be caught and have a message like:
The text was updated successfully, but these errors were encountered: