Click here to Skip to main content
15,884,237 members
Articles / General Programming / Exceptions

A Quick and Dirty Extension Method to Get the Full Exception Details, Including Inner Exceptions

Rate me:
Please Sign up or sign in to vote.
5.00/5 (11 votes)
1 Apr 2017CPOL2 min read 31.2K   155   15  
This tip presents an easy way of verbosely converting an exception and its inner exceptions to a string in order to get access to all details.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions