Table of Contents

Class ExceptionsExtensions

Namespace
SunamoExceptions
Assembly
SunamoExceptions.dll

Extension methods for working with exceptions.

public static class ExceptionsExtensions
Inheritance
ExceptionsExtensions
Inherited Members

Methods

GetAllMessages(Exception)

Gets all messages from an exception including all inner exceptions.

public static string GetAllMessages(this Exception ex)

Parameters

ex Exception

The exception to extract messages from.

Returns

string

A string containing all exception messages concatenated with inner exception messages.