SyncUnrecoverable class final
Emitted when sync has been failing for so long that operator intervention is required. The SDK keeps the data queued; resume is a manual action.
- Inheritance
-
- Object
- LocusReliabilityEvent
- SyncUnrecoverable
Constructors
- SyncUnrecoverable({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. See SyncErrorClass.
final
- lastHttpStatus → int?
-
HTTP status of the last attempt (null on transport-level errors).
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