CommandsException class Null safety

The base class for exceptions thrown by nyxx_commands.

All exceptions thrown by the library extend or implement this class, so you may use this as a catch-all type. Exceptions thrown by nyxx_commands are often caught internally by the library and added to CommandsPlugin.onCommandError, so you need not catch exceptions yourself.

You might also be interested in:

Implemented types
Implementers

Constructors

CommandsException(String message)
Create a new CommandsException.

Properties

hashCode int
The hash code for this object.
read-only, inherited
message String
The message for this exception.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited