AttemptFailureReason

@ObjCName(swiftName = "AttemptFailureReason")
sealed interface AttemptFailureReason

Why a MonitorEvent.AttemptFailed was emitted.

Inheritors

Types

Link copied to clipboard

The OS reclaimed the task (iOS expiration handler fired).

Link copied to clipboard
data class FactoryThrew(val cause: Throwable, val causeMessage: String? = cause.message, val causeType: String? = cause::class.simpleName) : AttemptFailureReason

The factory threw while creating the worker.

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

BackgroundWorker.execute threw an uncaught exception.