Interface CommandError

All Superinterfaces:
CommandResult
All Known Subinterfaces:
CommandErrorException

public non-sealed interface CommandError extends CommandResult
The result from a command that fails to execute due to an internal error.

This is not the result for a command that fails due to user error. CommandFailure is used in that case.

Since:
1.0
Version:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the error message.
  • Method Details

    • message

      @Pure String message()
      Retrieves the error message.
      Returns:
      The error message.