Method | Description | |
---|---|---|
AllExceptions ( this ex ) : IEnumerable |
Returns all exceptions in the chain starting from the innermost.
|
|
AllExceptionsBack ( this ex ) : IEnumerable |
Returns all exceptions in the chain starting from the outermost.
|
|
Consolidate ( this ex, string separator, bool innerFirst, string>.Func |
Joins text information from the chain of exceptions including inner ones.
|
|
ConsolidatedInfo ( this ex, string separator = null, bool innerFirst = true ) : string |
Returns exception information (messages + stack traces) in the exception chain (main + inner exceptions), starting from the innermost one.
|
|
ConsolidatedMessage ( this ex, string separator = null, bool innerFirst = true ) : string |
Returns all messages in the exception chain (main + inner exceptions), starting from the innermost one.
|
|
ConsolidatedStack ( this ex, string separator = null, bool innerFirst = true ) : string |
Returns all stack traces in the exception chain (main + inner exceptions), starting from the innermost one.
|
|
FullInfo ( this ex ) : string |
Returns string containing exception type, message and stack trace. No inner exception information included.
|
|
ToSerializable ( this ex ) : |
Returns Exception-like object that can serialized to XML, JSON, etc.
|
|
TypeAndMessage ( this ex ) : string |
Returns string with the information of exception type and message.
|
public static AllExceptions ( this ex ) : IEnumerable |
||
ex | this | |
return | IEnumerable |
public static AllExceptionsBack ( this ex ) : IEnumerable |
||
ex | this | |
return | IEnumerable |
public static Consolidate ( this ex, string separator, bool innerFirst, string>.Func |
||
ex | this | |
separator | string | |
innerFirst | bool | True to put innermost exception on top, false for outermost. |
converter | string>.Func | |
return | string |
public static ConsolidatedInfo ( this ex, string separator = null, bool innerFirst = true ) : string | ||
ex | this | |
separator | string | |
innerFirst | bool | True to put innermost exception on top, false for outermost. |
return | string |
public static ConsolidatedMessage ( this ex, string separator = null, bool innerFirst = true ) : string | ||
ex | this | |
separator | string | |
innerFirst | bool | True to put innermost exception on top, false for outermost. |
return | string |
public static ConsolidatedStack ( this ex, string separator = null, bool innerFirst = true ) : string | ||
ex | this | |
separator | string | |
innerFirst | bool | True to put innermost exception on top, false for outermost. |
return | string |
public static ToSerializable ( this ex ) : |
||
ex | this | |
return |
public static TypeAndMessage ( this ex ) : string | ||
ex | this | |
return | string |