syncFailedException
fun syncFailedException(message: String = "The sync pass stopped with writes still queued", httpStatus: Int? = null, code: String? = null, isConnectivityFailure: Boolean = false): SyncFailedException(source)
Why a sync pass stopped with writes still queued, as SyncStatus.lastSyncError reports it.
Parameters
message
what the exception says.
httpStatus
the server's HTTP status, or null when it did not answer.
code
the server's error code, or null.
isConnectivityFailure
whether the network caused it, which is what isNetworkOrConnectivityFailure() answers for it.