GetRenderable(Exception, ExceptionSettings) Method

Gets a IRenderable representation of the exception.
[RequiresDynamicCode(ExceptionFormatter.AotWarning)]
public static IRenderable GetRenderable(this Exception exception, ExceptionSettings settings)
Namespace
Spectre.Console
Containing Type
ExceptionExtensions

Attributes

RequiresDynamicCodeAttribute

Parameters

Exception exception
The exception to format.
ExceptionSettings settings
The exception settings.

Returns