namespace Discord.Interactions { /// /// Defines the type of error a command can throw. /// public enum InteractionCommandError { /// /// Thrown when the command is unknown. /// UnknownCommand, /// /// Thrown when the Slash Command parameter fails to be converted by a TypeReader. /// ConvertFailed, /// /// Thrown when the input text has too few or too many arguments. /// BadArgs, /// /// Thrown when an exception occurs mid-command execution. /// Exception, /// /// Thrown when the command is not successfully executed on runtime. /// Unsuccessful, /// /// Thrown when the command fails to meet a 's conditions. /// UnmetPrecondition, /// /// Thrown when the command context cannot be parsed by the . /// ParseFailed } }