BloomRedirectLoopException class
Thrown by BloomRouter.resolveRedirects when guard redirects loop.
Records the visited chain and the offendingTarget that revisited a location (or exceeded the hop budget), e.g. route A redirecting to B while B redirects back to A.
- Implemented types
Constructors
-
BloomRedirectLoopException(List<
String> chain, String offendingTarget) -
const
Properties
-
chain
→ List<
String> -
Locations visited before the loop was detected, in order.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- offendingTarget → String
-
The redirect target that closed the loop or broke the hop budget.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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