API reference
Constructor ChecksFailedException
- Namespace
- DisCatSharp.CommandsNext.Exceptions
- Assembly
- DisCatSharp.CommandsNext.dll
ChecksFailedException(Command, CommandContext, IEnumerable<CheckBaseAttribute>)
Creates a new ChecksFailedException.
public ChecksFailedException(Command command, CommandContext ctx, IEnumerable<CheckBaseAttribute> failedChecks)
Parameters
commandCommandCommand that failed to execute.
ctxCommandContextContext in which the command was executed.
failedChecksIEnumerable<CheckBaseAttribute>A collection of checks that failed.