Eat 1.0.1

dotnet add package Eat --version 1.0.1                
NuGet\Install-Package Eat -Version 1.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Eat" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Eat --version 1.0.1                
#r "nuget: Eat, 1.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Eat as a Cake Addin
#addin nuget:?package=Eat&version=1.0.1

// Install Eat as a Cake Tool
#tool nuget:?package=Eat&version=1.0.1                

Eat

A zero dependency library to simplify exception handling.

License: MIT NuGet

Let's look at some examples! Eat can be used using Eat.Exception() or IsExceptionThrown().

Eat.Exception()

var setting = Eat.Exception(() => { return ReadSetting("setting"); }, "fallback value");
// or
Eat.Exception(() => { DoSomething(); });

IsExceptionThrown()

var isException = Eat.IsExceptionThrown(() => { DoSomething(); });

NuGet

The latest release can be found on NuGet. https://www.nuget.org/packages/eat

Found a bug?

Whoops! You can log the issue here: https://github.com/benbarth/eat/issues.

Contribute

If you would like to contribute a bug fix or performance improvement you can submit a pull request here: https://github.com/benbarth/eat/pulls.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 723 11/28/2018