Unknown

data class Unknown(val id: String, val retryable: Boolean = true) : RejectCode

A code this build does not know: a peer that predates typed codes (empty id), a newer build's addition, or another module's own code, such as one an app's AdmissionPolicy refused with.

retryable is what the sender's code said, carried on the wire beside its id (AdmitMessage.Reject.retryable, v8, Decided 25), so an app's own terminal refusal stays terminal at the joiner and its reconnect stops saying Hello. true when the sender said nothing, as a code-less Reject does — see the type KDoc.

Constructors

Link copied to clipboard
constructor(id: String, retryable: Boolean = true)

Properties

Link copied to clipboard
open override val id: String

Stable wire identifier. Travels in AdmitMessage.Reject; must not change once shipped.

Link copied to clipboard
open override val retryable: Boolean

Whether presenting the same credentials again could plausibly succeed.