ExceptionSettings Class

Exception settings.
public sealed class ExceptionSettings
Namespace
Spectre.Console

Constructors

ExceptionSettings()
Initializes a new instance of the ExceptionSettings class.

Properties

ExceptionFormats Format
Gets or sets the exception format.
ExceptionStyle Style
Gets or sets the exception style.

Extension Methods

T And<ExceptionSettings>(Action<ExceptionSettings>)
Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.