AttemptFailed
data class AttemptFailed(val taskId: String, val at: Instant, val attempt: Int, val reason: AttemptFailureReason) : MonitorEvent
An attempt failed in a way that is not the worker returning WorkResult.Failure: the OS expired the task, the factory threw, the worker threw an uncaught exception. The library converts these to WorkResult.Retry (or WorkResult.Failure on max-attempts exhaustion) internally; this event surfaces the original cause.