android-components / mozilla.components.lib.crash / Crash

Crash

sealed class Crash (source)

Crash types that are handled by this library.

Types

Name Summary
NativeCodeCrash data class NativeCodeCrash : Crash
A crash that happened in native code.
UncaughtExceptionCrash data class UncaughtExceptionCrash : Crash
A crash caused by an uncaught exception.

Companion Object Functions

Name Summary
fromIntent fun fromIntent(intent: <ERROR CLASS>): Crash
isCrashIntent fun isCrashIntent(intent: <ERROR CLASS>): Boolean

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
NativeCodeCrash data class NativeCodeCrash : Crash
A crash that happened in native code.
UncaughtExceptionCrash data class UncaughtExceptionCrash : Crash
A crash caused by an uncaught exception.