CancellationException class final

Thrown inside a cancellation zone when it has been cancelled.

Drift throws this exception internally to cancel an ongoing operation, e.g. to save resources when a query stream subscription is canceled while drift is preparing to run its statement.

Implemented types

Constructors

CancellationException()
Default const constructor
const

Properties

hashCode int
The hash code for this object.
no setterinherited
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.
override

Operators

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