CommandTemplateException Class

Represents errors related to parameter templates.
public sealed class CommandTemplateException : CommandConfigurationException, ISerializable
Interfaces
  • ISerializable

Properties

IRenderable Pretty
Gets the pretty formatted exception message.
string Template
Gets the template that contains the error.

Extension Methods

T And<CommandTemplateException>(Action<CommandTemplateException>)
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.