DriverError class

A transport error surfaced by SyncDriver.tick.

A sink failure is not fatal — the frame is retained in the outbox and replayed on the next SyncDriver.onReconnect, per the spec's retain-on-fail / resync-on-reconnect loop shape — so it is reported as a stall, not an error. Only a source read failure is thrown as a DriverError, signalling the host to re-establish the transport and call SyncDriver.onReconnect.

Implemented types

Constructors

DriverError.source(Object cause)
The inbound source failed to read; the host should reconnect.
const

Properties

cause Object
The underlying error thrown by the IpcSource.
final
hashCode int
The hash code for this object.
no setteroverride
kind String
The failure kind discriminant (currently always 'Source').
final
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.
override