I want to consolidate all exceptions. Is this a good practice to do so?
string consolidatingAllException = string.Empty;
try
{
// some process();
}
catch (Exception ex)
{
while (ex.InnerException != null)
{
consolidatingAllException += (ex.InnerException.Message);
}
}