Once, while inspecting the source code for Microsoft .NET, I came across the use of a common class to simplify the process of throwing exceptions. Inspired by this concept, I decided to implement a similar approach in Spargine’s DotNetTips.Spargine.6.Core assembly, to make it easier for both myself and others to throw exceptions. In this article, I will outline the methods available in Spargine for throwing exceptions, accompanied by relevant examples.
Link to article: https://bit.ly/SpargineExThrow