INNER CODE UNIT · Kotlin

NoResultException

kosi-libs/Kodein · kodein-di/src/commonMain/kotlin/org/kodein/di/DI.kt:55

    public class NoResultException(public val search: SearchSpecs, message: String) : RuntimeException(message)

    /**
     * Exception thrown when there is an overriding error.
     *
     * @param message The message of the exception.
     */
    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).

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…