SyncError class Sync

Thrown when an error occurs during synchronization

Inheritance
Implementers

Constructors

SyncError(String message, SyncErrorCategory category, int codeValue)

Properties

category SyncErrorCategory
The category of the sync error
final
codeValue int
The numeric code value indicating the type of the sync error.
final
hashCode int
The hash code for this object.
no setterinherited
message String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The stack trace at the point where this error was first thrown.
no setterinherited

Methods

as<T extends SyncError>() → T
As a specific SyncError type.
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

Static Methods

create(String message, SyncErrorCategory category, int code, {bool isFatal = false}) SyncError
Creates a specific type of SyncError instance based on the category and the code supplied.