android-components / mozilla.components.lib.state / StoreException

StoreException

class StoreException : Exception (source)

Exception for otherwise unhandled errors caught while reducing state or while managing/notifying observers.

Constructors

Name Summary
<init> StoreException(msg: String, e: Throwable? = null)
Exception for otherwise unhandled errors caught while reducing state or while managing/notifying observers.

Properties

Name Summary
e val e: Throwable?

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