Uses of Interface
dev.sympho.modular_commands.api.command.result.CommandFailure
Packages that use CommandFailure
Package
Description
Interfaces defining the result of handling an invoked command.
-
Uses of CommandFailure in dev.sympho.modular_commands.api.command.result
Subinterfaces of CommandFailure in dev.sympho.modular_commands.api.command.resultModifier and TypeInterfaceDescriptioninterface
Failure result due to an issue with the provided arguments.interface
A failure result with a message to the user.Classes in dev.sympho.modular_commands.api.command.result that implement CommandFailureModifier and TypeClassDescriptionfinal record
Failure result due to one or more argument being provided where one wasn't expected.final record
Failure result due to a provided argument being invalid.final record
Failure result due to a required argument not being provided.final record
A failure result due to the user having insufficient permissions.final record
A failure result due to the user not being part of a specific group.Fields in dev.sympho.modular_commands.api.command.result declared as CommandFailureModifier and TypeFieldDescriptionstatic final CommandFailure
Results.FAIL
Result indicating the command failed with no further context.Methods in dev.sympho.modular_commands.api.command.result that return CommandFailureModifier and TypeMethodDescriptionstatic CommandFailure
Results.fail()
Generates a result indicating the command failed with no further context.