Class DefaultFailReasonHandler

    • Constructor Detail

      • DefaultFailReasonHandler

        public DefaultFailReasonHandler()
    • Method Detail

      • handleFailReason

        public void handleFailReason​(@NotNull
                                     @NotNull CommandExecutionContext context,
                                     @NotNull
                                     @NotNull FailReason failReason,
                                     @Nullable
                                     @Nullable java.lang.String argument)
        Method which will be called to every argument fail reason.
        Specified by:
        handleFailReason in interface FailReasonHandler
        Parameters:
        context - command context
        failReason - fail reason
        argument - raw string argument, if present