Class ExceptionExtensions
ExceptionExtentions class.
Namespace: VpnSDK.Public.Extensions
Assembly: VpnSDK.dll
Syntax
public static class ExceptionExtensions
Methods
GetAllExceptionMessages(Exception)
Gets all exception messages.
Declaration
public static IEnumerable<string> GetAllExceptionMessages(this Exception ex)
Parameters
| Type | Name | Description |
|---|---|---|
| Exception | ex | The exception. |
Returns
| Type | Description |
|---|---|
| IEnumerable<String> | IEnumerable<System.String>. |
GetAllExceptions(Exception)
Gets all inner exceptions.
Declaration
public static IEnumerable<Exception> GetAllExceptions(this Exception ex)
Parameters
| Type | Name | Description |
|---|---|---|
| Exception | ex | The exception. |
Returns
| Type | Description |
|---|---|
| IEnumerable<Exception> | IEnumerable<Exception>. |