mirror of
https://github.com/spectreconsole/spectre.console.git
synced 2025-12-28 16:58:05 +01:00
Rename ExceptionFormats.None
This commit is contained in:
committed by
Patrik Svensson
parent
3c3afe7439
commit
39a8588dc3
@@ -14,7 +14,7 @@ namespace Spectre.Console
|
||||
/// <param name="exception">The exception to format.</param>
|
||||
/// <param name="format">The exception format options.</param>
|
||||
/// <returns>A <see cref="IRenderable"/> representing the exception.</returns>
|
||||
public static IRenderable GetRenderable(this Exception exception, ExceptionFormats format = ExceptionFormats.None)
|
||||
public static IRenderable GetRenderable(this Exception exception, ExceptionFormats format = ExceptionFormats.Default)
|
||||
{
|
||||
return ExceptionFormatter.Format(exception, format);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user