android-components / mozilla.components.lib.crash.handler / ExceptionHandler

ExceptionHandler

class ExceptionHandler : UncaughtExceptionHandler (source)

Thread.UncaughtExceptionHandler implementation that forwards crashes to the CrashReporter instance.

Constructors

<init>

ExceptionHandler(context: Context, crashReporter: CrashReporter, defaultExceptionHandler: UncaughtExceptionHandler? = null)

Thread.UncaughtExceptionHandler implementation that forwards crashes to the CrashReporter instance.

Functions

uncaughtException

fun uncaughtException(thread: Thread, throwable: Throwable): Unit