SyncStalled class final

Emitted when sync has failed long enough to warrant an operator alert but is still considered recoverable.

Inheritance

Constructors

SyncStalled({required Duration sinceLastSuccess, required int consecutiveFailures, int? lastHttpStatus, SyncErrorClass? lastErrorClass, DateTime? occurredAt})

Properties

consecutiveFailures → int
Number of consecutive failed attempts.
final
hashCode → int
The hash code for this object.
no setterinherited
lastErrorClass → SyncErrorClass
Coarse classification of the last failure. Defaults to classifySyncError over lastHttpStatus when not supplied.
final
lastHttpStatus → int?
HTTP status of the last attempt (null if there was no response, e.g. network error).
final
occurredAt → DateTime
Wall-clock UTC timestamp at which the event was raised.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sinceLastSuccess → Duration
How long it has been since the last successful sync.
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