CommandResult

sealed class CommandResult

Representation of possible results of running a command.

Author

Cypher121

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class Failure(val message: Text) : CommandResult

Representation of the command failing with the specified error message.

Link copied to clipboard
class Success(val result: Int = Command.SINGLE_SUCCESS) : CommandResult

Representation of successful completion with the return value of result.

Inheritors

Link copied to clipboard
Link copied to clipboard