WriteException(Exception, ExceptionSettings) Method
Writes an exception to the console.
[RequiresDynamicCode(ExceptionFormatter.AotWarning)]
public static void WriteException(Exception exception, ExceptionSettings settings)
- Namespace
- Spectre
.Console - Containing Type
- AnsiConsole
Attributes
-
Requires
Dynamic Code Attribute
Parameters
- Exception exception
- The exception to write to the console.
- ExceptionSettings settings
- The exception settings.