NotificationDelivery

data class NotificationDelivery(val inboxUri: String, val status: Int? = null, val message: String = "Notification delivery to $inboxUri failed" + (status?.let { " (HTTP $it)" } ?: "") + ".") : SolidError

A non-auth failure delivering a notification to an inbox.

Constructors

Link copied to clipboard
constructor(inboxUri: String, status: Int? = null, message: String = "Notification delivery to $inboxUri failed" + (status?.let { " (HTTP $it)" } ?: "") + ".")

Properties

Link copied to clipboard
open val cause: Throwable? = null

The underlying throwable, when this error wraps one.

Link copied to clipboard
open override val code: SolidErrorCode

Stable classification; safe to branch on and localize.

Link copied to clipboard
open override val httpStatus: Int?

The HTTP status that produced this error, or null for local/transport errors.

Link copied to clipboard
Link copied to clipboard
open override val message: String

Developer-facing diagnostic description. Not an end-user string.

Link copied to clipboard
open val retryable: Boolean = false

true when retrying the same request may succeed on its own (transient server/transport conditions). A false value does not mean "never retry" — e.g. PreconditionFailed needs a fresh ETag first (branch on code).

Link copied to clipboard
val status: Int?

Functions

Link copied to clipboard

Wraps this error in a throwable for getOrThrow-style propagation, preserving cause.