android-components / mozilla.components.support.migration / GeckoMigrationException

GeckoMigrationException

class GeckoMigrationException : Exception (source)

Wraps GeckoMigrationResult in an exception so that it can be returned via Result.Failure.

Constructors

Name Summary
<init> GeckoMigrationException(failure: Failure)
Wraps GeckoMigrationResult in an exception so that it can be returned via Result.Failure.

Properties

Name Summary
failure val failure: Failure
Wrapped GeckoMigrationResult indicating the exact failure reason.

Extension Functions

Name Summary
getStacktraceAsString fun Throwable.getStacktraceAsString(): String
Returns a formatted string of the Throwable.stackTrace.
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.
uniqueId fun Exception.uniqueId(): String
Returns a unique identifier for this Throwable