ClientResetError class Sync
An error type that describes a client reset error condition.
- Inheritance
-
- Object
- Error
- RealmError
- SyncError
- ClientResetError
Constructors
- ClientResetError.new(String message, App? _app, {SyncErrorCategory category = SyncErrorCategory.client, int? errorCodeValue, String? backupFilePath, String? originalFilePath, String? detailedMessage})
Properties
- backupFilePath → String?
-
The path where the backup copy of the realm will be placed once the client reset process is complete.
final
- category ↔ SyncErrorCategory
-
The category of the sync error
getter/setter pairinherited
- code → SyncErrorCode
-
The code that describes this error.
finalinherited
- codeValue → int
-
The numeric code value indicating the type of the sync error.
no setterinherited
- detailedMessage ↔ String?
-
Detailed error message.
In case of server error, it contains the link to the server log.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- innerError → Object?
-
finalinherited
- isFatal → bool
-
If true the received error is fatal.
final
- message → String?
-
finalinherited
- originalFilePath → String?
-
The path to the original copy of the realm when the client reset was triggered.
This realm may contain unsynced changes.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionErrorCode → SyncSessionErrorCode
-
The SyncSessionErrorCode value indicating the type of the sync error.
This property will be SyncSessionErrorCode.unknown if
onManualResetFallback
occurs on client reset.no setter - stackTrace → StackTrace?
-
The stack trace at the point where this error was first thrown.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resetRealm(
) → bool - Initiates the client reset process.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited