android-components / mozilla.components.lib.crash.service / CrashReporterService

CrashReporterService

interface CrashReporterService (source)

Interface to be implemented by external services that accept crash reports.

Functions

report

abstract fun report(crash: UncaughtExceptionCrash): Unit

Submits a crash report for this Crash.UncaughtExceptionCrash.

abstract fun report(crash: NativeCodeCrash): Unit

Submits a crash report for this Crash.NativeCodeCrash.

Inheritors

MozillaSocorroService

class MozillaSocorroService : CrashReporterService

A CrashReporterService implementation uploading crash reports to crash-stats.mozilla.com.

SentryService

class SentryService : CrashReporterService

A CrashReporterService implementation that uploads crash reports to a Sentry server.