Last updated 2 months ago

Contents

**FsToolkit.ErrorHandling** is a utility library to work with Result type in F# to do error handling.

It provides utility functions like `map`

, `bind`

, `apply`

, `traverse`

, `sequence`

, computation expressions and infix operators to work with `Result`

, `Result<'a option, 'b>`

, `Async<Result<'a, 'b>>`

, `Async<Result<'a option, 'b>>`

& `Result<'a, 'b list>`

types.

It was inspired by the Chessie and Cvdm.ErrorHandling libraries.

Supports both .NET Core and .NET Framework 4.6.1.

This library assumes that are you familiar with the standard functions - map, apply, bind, traverse & sequence and the problem these functions solve. In case, if you are not aware of it, do check out this excellent tutorial by Scott Wlaschin on this subject.

Contents