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

Implements

Properties

duration Duration
read-only

The duration that was exceeded.

message String
read-only

Description of the cause of the timeout.

Constructors

TimeoutException(String message, [Duration duration])

Methods

toString() → String

Returns a string representation of this object.