android-components / mozilla.components.service.fxa / FxaResult / fromException

fromException

fun <T> fromException(exception: Exception): FxaResult<T> (source)

This constructs a result that is completed with the specified Exception. May not be null.

Parameters

exception - The exception used to complete the newly created result.

Return
The completed FxaResult