Refused

data class Refused(val message: String, val code: RejectCode = RejectCode.Unspecified) : FailureReason

The host actively rejected the resume with an AdmitMessage.Reject, carrying its raw message and structured code.

Branch on code, not message: the text is for a human reading a log. A code this build does not know surfaces as RejectCode.Unknown, carrying the retryability its sender stated (v8, Decided 25), or retryable when it stated none. A retryable refusal is not a claim that the device was turned away for good: the joiner retried it to its deadline before giving up. When RejectCode.retryable is false — one of kuilt's terminal codes, or an app's own that says so — the refusal is terminal, and the joiner surfaces it without waiting out the window.

kuilt still cannot type the host's intent beyond the codes it defines — an application-level refusal (auth policy, capacity) rides in message or a consumer-supplied RejectCode of its own.

Constructors

Link copied to clipboard
constructor(message: String, code: RejectCode = RejectCode.Unspecified)

Properties

Link copied to clipboard
Link copied to clipboard