CommandParseException Class
Represents errors that occur during parsing.
public sealed class CommandParseException : CommandRuntimeException, ISerializable
- Namespace
- Spectre
.Console .Cli - Interfaces
-
- ISerializable
- Base Types
-
- Exception
- CommandAppException
- Command
Runtime Exception
Properties
- IRenderable Pretty
- Gets the pretty formatted exception message.
Extension Methods
-
T And
< Command Parse Exception> (Action < Command Parse 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.