SyncClientError class Sync

An error type that describes a session-level error condition.

Inheritance

Constructors

SyncClientError(String message, SyncErrorCategory category, SyncClientErrorCode errorCode, {bool isFatal = false})

Properties

category SyncErrorCategory
The category of the sync error
finalinherited
code SyncClientErrorCode
The SyncClientErrorCode value indicating the type of the sync error.
read-only
codeValue int
The numeric code value indicating the type of the sync error.
finalinherited
hashCode int
The hash code for this object.
read-onlyinherited
isFatal bool
If true the received error is fatal.
final
message String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
stackTrace StackTrace?
The stack trace at the point where this error was first thrown.
read-onlyinherited

Methods

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