GetRenderable(Exception, ExceptionFormats) Method
Gets a
IRenderable
representation of the exception.
public static IRenderable GetRenderable(this Exception exception, ExceptionFormats format = Default)
- Namespace
- Spectre
.Console - Containing Type
- ExceptionExtensions
Parameters
- Exception exception
- The exception to format.
- ExceptionFormats format
- The exception format options.