Class CommandFaulted
- Namespace
- Signal.Application.Commands
- Assembly
- Signal.Application.dll
The command threw an exception.
public sealed record CommandFaulted : IEquatable<CommandFaulted>
- Inheritance
-
CommandFaulted
- Implements
- Inherited Members
Constructors
CommandFaulted(ParsedCommand, CommandDescriptor, Exception)
The command threw an exception.
public CommandFaulted(ParsedCommand Parsed, CommandDescriptor Command, Exception Exception)
Parameters
ParsedParsedCommandThe parsed invocation.
CommandCommandDescriptorThe failed command.
ExceptionExceptionThe exception thrown by the command.
Properties
Command
The failed command.
public CommandDescriptor Command { get; init; }
Property Value
Exception
The exception thrown by the command.
public Exception Exception { get; init; }
Property Value
Parsed
The parsed invocation.
public ParsedCommand Parsed { get; init; }