CommandAppException Class
Represents errors that occur during application execution.
public abstract class CommandAppException : Exception, ISerializable
- Namespace
- Spectre
.Console .Cli - Interfaces
-
- ISerializable
- Base Types
-
- Exception
- Derived Types
Properties
- IRenderable Pretty
- Gets the pretty formatted exception message.
Extension Methods
-
T And
< Command App Exception> (Action < Command App Exception> ) - 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.
-
IRenderable GetRenderable
(ExceptionFormats) -
Gets a
IRenderable
representation of the exception. -
IRenderable GetRenderable
(ExceptionSettings) -
Gets a
IRenderable
representation of the exception.