CommandTemplateException Class
Represents errors related to parameter templates.
public sealed class CommandTemplateException : CommandConfigurationException, ISerializable
- Namespace
- Spectre
.Console .Cli - Interfaces
-
- ISerializable
- Base Types
Properties
Extension Methods
-
T And
< Command Template Exception> (Action < Command Template 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.