Class ExceptionExtensions
- Namespace
- global
- Assembly
- Cratis.Fundamentals.dll
Extension methods for working with exceptions.
public static class ExceptionExtensions
- Inheritance
-
ExceptionExtensions
- Inherited Members
Methods
GetAllMessages(Exception)
Get all messages recursively throughout all inner exceptions.
public static IEnumerable<string> GetAllMessages(this Exception exception)
Parameters
exceptionExceptionThe Exception to get from.
Returns
- IEnumerable<string>
A collection of messages.