class
TimeoutException

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

Implements

Properties

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

Constructors

TimeoutException(String message, [Duration duration])

Methods

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