Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages