ofResult

Validation.ofResult

Namespace: FsToolkit.ErrorHandling

Function Signature:

Result<'a, 'b> -> Result<'a, 'b list>

Simply wraps the error in a list.

Examples