WorkerThrew

data class WorkerThrew(val cause: Throwable, val causeMessage: String? = cause.message, val causeType: String? = cause::class.simpleName) : AttemptFailureReason

BackgroundWorker.execute threw an uncaught exception.

Constructors

Link copied to clipboard
constructor(cause: Throwable, causeMessage: String? = cause.message, causeType: String? = cause::class.simpleName)

Properties

Link copied to clipboard

Raw cause for Kotlin consumers. Hidden from ObjC — Throwable bridges to Swift as an opaque KotlinThrowable (CLAUDE.md §8). Swift reads causeMessage / causeType instead.

Link copied to clipboard

cause's message, bridged for Swift.

Link copied to clipboard

cause's concrete class simple name, bridged for Swift.