Enum CommandError
Defines the type of error a command can throw.
public enum CommandError
Fields
BadArgCount = 3Thrown when the input text has too few or too many arguments.
Exception = 7Thrown when an exception occurs mid-command execution.
MultipleMatches = 5Thrown when more than one object is matched by TypeReader.
ObjectNotFound = 4Thrown when the object cannot be found by the TypeReader.
ParseFailed = 2Thrown when the command fails to be parsed.
UnknownCommand = 1Thrown when the command is unknown.
UnmetPrecondition = 6Thrown when the command fails to meet a PreconditionAttribute's conditions.
Unsuccessful = 8Thrown when the command is not successfully executed on runtime.