LibraryError
data class LibraryError(val taskId: String, val at: Instant, val message: String, val cause: Throwable?, val causeMessage: String? = cause?.message, val causeType: String? = cause?.let { it::class.simpleName }) : MonitorEvent
Library-internal error that does not fit the per-attempt frame — for example BGTaskScheduler.submit rejecting a request, or a platform-level callback throwing. The library has already handled the error (logged, possibly rejected the schedule); this event surfaces what would otherwise be Kermit-only.
Constructors
Properties
Link copied to clipboard
Raw cause for Kotlin consumers. Hidden from ObjC — Throwable bridges to Swift as an opaque KotlinThrowable with no structure (CLAUDE.md §8, N-009 root cause). Swift reads causeMessage / causeType instead.
Link copied to clipboard
cause's message, bridged for Swift.