SyncFault class

Something the client could not do with what the server sent.

It is not a refusal of the build (SyncIncompatibility) and not a connection problem: the link works and the peers understand each other, but this one piece of data could not be taken in. The connection stays up, and the client keeps going with what it already had.

Reported on CRDTSocketClient.faults, never thrown: this runs inside the callback that reads the socket, where a throw reaches no catch and no onError and ends up as an uncaught error in the zone.

Nothing is retried.

Constructors

SyncFault({required String reason, required Object error, StackTrace? stackTrace})
Records that reason failed with error.
const

Properties

error Object
What was thrown.
final
hashCode int
The hash code for this object.
no setterinherited
reason String
What the client was doing, in a few words, ready to log.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
Where it was thrown, when the source had one to give.
final

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