nightmaregaurav.exceptionsafe 1.0.1

dotnet add package nightmaregaurav.exceptionsafe --version 1.0.1                
NuGet\Install-Package nightmaregaurav.exceptionsafe -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="nightmaregaurav.exceptionsafe" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add nightmaregaurav.exceptionsafe --version 1.0.1                
#r "nuget: nightmaregaurav.exceptionsafe, 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 nightmaregaurav.exceptionsafe as a Cake Addin
#addin nuget:?package=nightmaregaurav.exceptionsafe&version=1.0.1

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

ExceptionSafe

GitHub

ExceptionSafe is a utility library for swallowing exceptions.

Usage

  1. Install the package from NuGet.
using ExceptionSafe;

// rest of the codes...
//
var mayFail = () => _get<T>(key);
return mayFail.ExceptionSafeExecute(); // will not fail instead returns default value if failed
//
// rest of the codes...

License

ExceptionSafe is released under the MIT License. You can find the full license details in the LICENSE file.

Made with ❤️ by NightmareGaurav.


Open For Contribution

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on nightmaregaurav.exceptionsafe:

Package Downloads
nightmaregaurav.rediscachehelper

A C# utility library that provides caching functionality using the StackExchange.Redis library without DI. It simplifies the process of storing and retrieving data from a Redis cache, allowing for efficient and reliable caching of objects.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 219 8/17/2023
1.0.0 198 8/16/2023