Skip to content

Ensure and Throw now extandable, added IgnoredExceptions

Choose a tag to compare

@konard konard released this 23 Jul 18:37
· 329 commits to master since this release

https://www.nuget.org/packages/Platform.Exceptions/0.1.0

Ensure and Throw are extendable now, just use regular extensions for (EnsureAlwaysExtensionRoot, EnsureOnDebugExtensionRoot and ThrowExtensionRoot).
Added IgnoredExceptions static class. If you need to handle all ignored exception you need to raise and then handle IgnoredExceptions.ExceptionIgnored static event.
Added Ignore() extension method for Exception class. This method raises IgnoredExceptions.ExceptionIgnored static event.
"ToRecursiveString" extension method renamed to "ToStringWithAllInnerExceptions".
Dropped dependencies on other packages.
These changes are not backward compatible with previous 0.0.1 release.
Closes two issues.