android-components / mozilla.components.support.base.crash / CrashReporting

CrashReporting

interface CrashReporting (source)

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

Functions

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.

Inheritors

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