exception property

Exception? exception

The exception given when the token was cancelled.

Returns null if the token hasn't been cancelled yet.

Implementation

Exception? get exception => _cancelledException;