Enum CommandError
Defines the type of error a command can throw.
Assembly: Revolt.Net.Commands.dll​
View Source​
Declaration
public enum CommandError : int
Fields​
UnknownCommand​
Thrown when the command is unknown.
View Source​
Declaration
UnknownCommand = null
ParseFailed​
Thrown when the command fails to be parsed.
View Source​
Declaration
ParseFailed = null
BadArgCount​
Thrown when the input text has too few or too many arguments.
View Source​
Declaration
BadArgCount = null
ObjectNotFound​
Thrown when the object cannot be found by the Revolt.Commands.Readers.TypeReader.
View Source​
Declaration
ObjectNotFound = null
MultipleMatches​
Thrown when more than one object is matched by Revolt.Commands.Readers.TypeReader.
View Source​
Declaration
MultipleMatches = null
UnmetPrecondition​
Thrown when the command fails to meet a Revolt.Commands.Attributes.PreconditionAttribute's conditions.
View Source​
Declaration
UnmetPrecondition = null
Exception​
Thrown when an exception occurs mid-command execution.
View Source​
Declaration
Exception = null
Unsuccessful​
Thrown when the command is not successfully executed on runtime.
View Source​
Declaration
Unsuccessful = null