rejectedMutation

fun rejectedMutation(id: Long, table: String, operation: MutationOperation, createdAt: Instant, rowKeys: List<JsonObject> = emptyList(), body: JsonElement? = null, serverError: ServerError? = null, message: String, rejectedAt: Instant, isRetryable: Boolean = true): RejectedMutation(source)

A queued write the server refused for good, as Offline.rejectedMutations lists one.

Parameters

id

its id in the queue.

table

the table it targeted.

operation

what it did.

createdAt

when it was queued.

rowKeys

the primary-key values of the rows it touches.

body

the body it sent, or null.

serverError

what the server answered, or null when the library refused it.

message

why it was refused.

rejectedAt

when it was refused.

isRetryable

whether it can be queued again.