Sphyrnidae Common Library  2.0.1
Shared Utilities/Library
Sphyrnidae.Common.Extensions.ExceptionExtensions Class Reference

Exception custom methods More...

Static Public Member Functions

static string GetFullMessage (this Exception ex)
 Retrieves the message (and all inner exception messages) More...
 
static string GetStackTrace (this Exception ex)
 Retrieves the stack trace formatted More...
 

Detailed Description

Exception custom methods

Member Function Documentation

◆ GetFullMessage()

static string Sphyrnidae.Common.Extensions.ExceptionExtensions.GetFullMessage ( this Exception  ex)
static

Retrieves the message (and all inner exception messages)

Parameters
exThe exception
Returns
The fully formatted message of the exception and all inner exceptions

◆ GetStackTrace()

static string Sphyrnidae.Common.Extensions.ExceptionExtensions.GetStackTrace ( this Exception  ex)
static

Retrieves the stack trace formatted

Parameters
exThe exception
Returns
The fully formatted stack trace

The documentation for this class was generated from the following file: