TimeoutException class
An error indicating that an operation did not complete within the expected time limit.
Distinct from TimeoutException which is an Exception. This is typically used for unrecoverable timeout situations.
- Inheritance
-
- Object
- BrowserException
- TimeoutException
- Implementers
Constructors
- TimeoutException(String message, [Duration? timeout])
Properties
- cause → dynamic
-
The underlying error or exception that caused this BrowserException, if any.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A message describing the error.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → Duration?
-
A message describing the browser error.
The timeout duration that was exceeded, if available.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns a string representation including the message, cause, and stack trace if available.
Returns a string representation of the timeout error, including the timeout duration if available.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited