android-components / / CrashReporting


interface CrashReporting (source)

A crash reporter interface that can report caught exception to multiple services.


Name Summary
recordCrashBreadcrumb abstract fun recordCrashBreadcrumb(breadcrumb: Breadcrumb): Unit
Add a crash breadcrumb to all registered services with breadcrumb support.
submitCaughtException abstract fun submitCaughtException(throwable: Throwable): Job
Submit a caught exception report to all registered services.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.


Name Summary
CrashReporter class CrashReporter : CrashReporting
A generic crash reporter that can report crashes to multiple services.