HeadlessWebViewCapExceededException class
Thrown when a HeadlessWebViewRegistry is full of active instances.
Failing loudly is deliberate: silently exceeding the platform cap is what leaves a per-domain scraper with several live render processes fighting over one shared navigation queue (issue #371).
- Implemented types
Constructors
- HeadlessWebViewCapExceededException({required int maxLiveInstances, required int liveCount})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- liveCount → int
-
How many instances were live when the registration was refused.
final
- maxLiveInstances → int
-
The configured ceiling.
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