I might be doing something funky to create this, b...
# koin
z
I might be doing something funky to create this, but everytime I run into a crash during runtime with koin .. I get a bunch of different errors; with only one of them pointing out the actual location of the issue. Is this the current state of affairs? Errors: • org.koin.core.error.InstanceCreationException: Could not create instance for '[Singleton:'mediator.core.Mediator']' <-- This is what I see focused in the build output window in Android Studio. • org.koin.core.error.InstanceCreationException: Could not create instance for '[Singleton:'mediator.core.Gateway']' • org.koin.core.error.InstanceCreationException: Could not create instance for '[Factory:'x.y.z.ABC',binds:mediator.core.Dispatcher]' • org.koin.core.error.NoBeanDefFoundException: No definition found for type 'x.y.z.ABC'. Check your Modules configuration and add missing type and/or qualifier! <-- This is the actual problem, which I need to either navigate to; or scroll through the entire stacktrace to find.
w
Always go to the end of the stacktrace to find the root cause
👍🏽 1
It tells you the entire chain of failures, ending with the one that caused the chain