ExceptionAnalyzer icon indicating copy to clipboard operation
ExceptionAnalyzer copied to clipboard

Override ToString() and use newly added properties

Open cezarypiatek opened this issue 6 years ago • 0 comments

https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/exceptions/creating-and-throwing-exceptions#defining-exception-classes

New properties should only be added to the exception class when the data they provide is useful to resolving the exception. If new properties are added to the derived exception class, ToString() should be overridden to return the added information.

cezarypiatek avatar Apr 11 '19 19:04 cezarypiatek