TimeoutOutOfRangeException class

Thrown when the specified timeout is outside the allowed range.

Valid timeout values are between 1 and 10 seconds (inclusive).

Inheritance

Constructors

TimeoutOutOfRangeException(Duration duration)
Creates a TimeoutOutOfRangeException when duration is shorter than 1 second or longer than 10 seconds.

Properties

duration Duration
The invalid timeout duration provided.
final
hashCode int
The hash code for this object.
no setterinherited
message String
A human-readable description of the exception.
finalinherited
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.
inherited

Operators

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