Method
FromResidual
static func FromResidual(residual: E) -> Result<T, E>
Declaring type: Result<T, E>
Module: System
Assembly: System.Runtime.dll
Source file: Result.rvn
Constructs an error result from a propagated residual.
Parameters
| Name | Type | Description |
|---|---|---|
residual |
E |
Return value
Result<T, E>