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

SettingsMigrationException

class SettingsMigrationException : Exception (source)

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

Constructors

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

Properties

Name Summary
failure val failure: Failure
Wrapped SettingsMigrationResult indicating exact failure reason.

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.
uniqueId fun Exception.uniqueId(): String
Returns a unique identifier for this Throwable