UpwardResolutionCycle class

AutoInjection Exception thrown when an addInjector(..., resolveUpward: true) edge would create a cycle in the upward (ancestor) resolution chain.
Upward resolution must form a tree: a child resolves against its ancestor as a fallback, never the other way around. A mutual upward link would make resolution recurse forever, so it is rejected eagerly at composition time.
injectorTag : tag of the injector at which the cycle was detected

Inheritance

Constructors

UpwardResolutionCycle(String injectorTag, [String message = '', StackTrace? stackTrace])
AutoInjection Exception for an upward resolution cycle.

Properties

hashCode → int
The hash code for this object.
no setterinherited
injectorTag → String
tag of the injector at which the cycle was detected
final
message → String
message of exception
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackTrace → StackTrace?
traces of exception
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited