Comment by magicalhippo
3 days ago
The original exception is available[1] in the InnerException though, so upstream can handle those differently.
[1]: https://learn.microsoft.com/en-us/dotnet/api/system.invalido...
3 days ago
The original exception is available[1] in the InnerException though, so upstream can handle those differently.
[1]: https://learn.microsoft.com/en-us/dotnet/api/system.invalido...
Ok, "destroy" was too strong, "hide" would have been a better choice of words.
You've still made it harder to handle.
That works somewhat for 2 levels of exceptions. When you start having dig into several levels of inner exceptions, gods help you.