fun <T> fromException(exception: Exception): FxaResult<T> (source)
This constructs a result that is completed with the specified Exception. May not be null.
exception - The exception used to complete the newly created result.
Return
The completed FxaResult