INNER CODE UNIT · Kotlin
OverridingException
kosi-libs/Kodein · kodein-di/src/commonMain/kotlin/org/kodein/di/DI.kt:62
public class OverridingException(message: String) : RuntimeException(message)
/**
* Exception thrown when [new] operator's parameter instance is unused.
*/
public class UnusedParameterException(message: String, cause: Exception? = null) : RuntimeException(message, cause)
override val di: DI get() = this
/**
* In DI, each [DIBinding] is bound to a Key. A Key holds all information necessary to retrieve a factory (and therefore an instance).
*
* A key contains many types & a tag.
* It defines the types of the values that will be passed to and retrieved from DI, not the values themselves.
*
* @param C The in context type.
* @param A The in argument type (`Unit` for a provider).
* @param T The out type.