Table of Contents
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

command Command

Command that failed to execute.

ctx CommandContext

Context in which the command was executed.

failedChecks IEnumerable<CheckBaseAttribute>

A collection of checks that failed.