SyncConnectionError class Sync

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

Inheritance

Constructors

SyncConnectionError(String message, SyncErrorCategory category, SyncConnectionErrorCode errorCode, {bool isFatal = false})

Properties

category SyncErrorCategory
The category of the sync error
finalinherited
code SyncConnectionErrorCode
The SyncConnectionErrorCode value indicating the type of the sync error.
no setter
codeValue int
The numeric code value indicating the type of the sync error.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isFatal bool
If true the received error is fatal.
final
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.
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