Ambiguous

Represents a specific implementation of DependencyInitializer that throws an exception when there are multiple dependencies matching the given key, leading to an ambiguity.

Report a problem

Throws

Always thrown when attempting to create a dependency through the create method.

Constructors

Link copied to clipboard
constructor(key: DependencyKey, functions: Set<DependencyInitializer>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A set of provider functions that caused the ambiguity.

Link copied to clipboard
Link copied to clipboard
open override val key: DependencyKey

The key for the dependency that caused the ambiguity.

Link copied to clipboard
open override val originKey: DependencyKey

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun resolve(resolver: DependencyResolver): Deferred<Any?>