Class CommandBindingFailed
- Namespace
- Signal.Application.Commands
- Assembly
- Signal.Application.dll
The arguments could not be bound (missing, invalid, too many, unknown option); the command did not run.
public sealed record CommandBindingFailed : IEquatable<CommandBindingFailed>
- Inheritance
-
CommandBindingFailed
- Implements
- Inherited Members
Constructors
CommandBindingFailed(ParsedCommand, CommandDescriptor, string)
The arguments could not be bound (missing, invalid, too many, unknown option); the command did not run.
public CommandBindingFailed(ParsedCommand Parsed, CommandDescriptor Command, string Error)
Parameters
ParsedParsedCommandThe parsed invocation.
CommandCommandDescriptorThe matched command.
ErrorstringA user-facing error message.
Properties
Command
The matched command.
public CommandDescriptor Command { get; init; }
Property Value
Error
A user-facing error message.
public string Error { get; init; }
Property Value
Parsed
The parsed invocation.
public ParsedCommand Parsed { get; init; }