Skip to main content

Class CommandException

The exception that is thrown if another exception occurs during a command execution.

Assembly: Revolt.Net.Commands.dll​
View Source​
Declaration
public class CommandException : Exception

Properties​

Command​

Gets the command that caused the exception.

View Source​
Declaration
public CommandInfo Command { get; }

Context​

Gets the command context of the exception.

View Source​
Declaration
public ICommandContext Context { get; }