SyncResponseException class

An error that received from the sync service.

Examples include authorization errors (401) and temporary service issues (503).

Implemented types

Constructors

SyncResponseException(int statusCode, String description)

Properties

description String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
getter/setter pair

Methods

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

fromResponse(Response response) SyncResponseException
Parse an error response from the PowerSync service
fromStreamedResponse(StreamedResponse response) Future<SyncResponseException>
Parse an error response from the PowerSync service