InjectError
public enum InjectError : Error, CustomStringConvertible
Inject error enum.
-
A descriptor for the dependencies qualifiers
Declaration
Swift
public typealias QualifierDescriptor = String
-
When no dependency has been registered.
Declaration
Swift
case notFound(_: any Sendable, qualifiers: [QualifierDescriptor]?, group: DependencyGroupKey?)
-
When more than one dependency registered.
Declaration
Swift
case moreThanOne(_: any Sendable, qualifiers: [QualifierDescriptor]?, group: DependencyGroupKey?)
-
Declaration
Swift
public var description: String { get }