GraphMine

graphmine-core / io.github.sof3.graphmine.command / CommandException

CommandException

abstract class CommandException : Exception, I18nable

Represents any user-friendly errors reported from commands.

Commands are not required to use this exception. It is only here for more convenient control flow (e.g. can throw exception directly instead of calling response() then return)

Constructors

<init> CommandException()
Represents any user-friendly errors reported from commands.

Properties

i18n abstract val i18n: I18n
A user-friendly I18n describing the problem

Inheritors

WrongSyntaxException class WrongSyntaxException : CommandException
Thrown when a command with wrong syntax is sent.