Skip to content
/ eat Public

A zero dependency library to simplify exception handling.

License

Notifications You must be signed in to change notification settings

benbarth/eat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A zero dependency library to simplify exception handling.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages