A - The actor type@FunctionalInterface
public interface FailureHandler<A extends CommandActor>
Potentials that
failed to parse the given input.| Modifier and Type | Method and Description |
|---|---|
void |
handleFailedAttempts(A actor,
@NotNull @Unmodifiable java.util.List<Potential<A>> failedAttempts,
@NotNull StringStream input)
Handles all the given failed attempts
|
void handleFailedAttempts(@NotNull
A actor,
@NotNull
@NotNull @Unmodifiable java.util.List<Potential<A>> failedAttempts,
@NotNull
@NotNull StringStream input)
actor - The actorfailedAttempts - The list of failed attempts. This is guaranteed to
be non-empty.input - The user input