View Javadoc
1   package dev.sympho.modular_commands.api.command.result;
2   
3   import org.checkerframework.dataflow.qual.Pure;
4   
5   /**
6    * A failure result with a message to the user.
7    *
8    * @version 1.0
9    * @since 1.0
10   */
11  public interface CommandFailureMessage extends CommandFailure {
12  
13      /**
14       * Retrieves the message to the user.
15       *
16       * @return The message to the user.
17       */
18      @Pure
19      String message();
20      
21  }