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
Null provider message isn't specific #10
Comments
There are no implementations of Unless I'm misunderstanding the issue (a Minimal Complete Verifiable Example would help), this seems like something that would need to be changed in Guice |
Why does it mention a kotlin-guice class (and only that class) in the stack? You can reproduce this by passing in mocked resources into a module unit test. |
It looks like Guice uses the method It might be possible to get a better error message in this case by adding some more exclusions to the error source inclusions like this: https://github.com/authzee/kotlin-guice/blob/master/kotlin-guice/src/main/kotlin/com/authzee/kotlinguice4/KotlinModule.kt#L58 |
Fixed by #13 |
I'm testing my module using mocks. I'm not supplying a particular property (somewhere). I get the following error message:
Please ensure you are naming the null property in this message, otherwise it's extremely hard to track down.
The text was updated successfully, but these errors were encountered: