TimeoutException class

Thrown when a scheduled timeout happens while waiting for an async result.

Thrown when a scheduled timeout happens while waiting for an async result.

Implements

Constructors

TimeoutException(String message, [Duration duration])

Instance Properties

message String
read-only
Description of the cause of the timeout.
duration Duration
read-only
The duration that was exceeded.

Instance Methods

toString() → String
Returns a string representation of this object.