SyncSessionError class Sync
An error type that describes a session-level error condition.
- Inheritance
-
- Object
- Error
- RealmError
- SyncError
- SyncSessionError
Constructors
- SyncSessionError.new(String message, SyncErrorCategory category, SyncSessionErrorCode errorCode, {bool isFatal = false})
Properties
- category → SyncErrorCategory
-
The category of the sync error
finalinherited
- code → SyncSessionErrorCode
-
The SyncSessionErrorCode 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