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
-
Requires
Dynamic Code Attribute
Parameters
- Exception exception
- The exception to format.
- ExceptionSettings settings
- The exception settings.