API reference
Class ChecksFailedException
- Namespace
- DisCatSharp.CommandsNext.Exceptions
- Assembly
- DisCatSharp.CommandsNext.dll
Indicates that one or more checks for given command have failed.
public class ChecksFailedException : Exception, ISerializable
- Inheritance
-
ChecksFailedException
- Implements
- Inherited Members
Constructors
- ChecksFailedException(Command, CommandContext, IEnumerable<CheckBaseAttribute>)
Creates a new ChecksFailedException.
Properties
- Command
Gets the command that was executed.
- Context
Gets the context in which given command was executed.
- FailedChecks
Gets the checks that failed.