Introduction

Last updated 2 months ago

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.

NuGet DUB

Note:

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.

Sponsor(s):

Ajira Technologies, India