public interface SelfHandledException<A extends CommandActor>
This interface should only be implemented by exceptions, as it does not expose any information about the exception being handled.
| Modifier and Type | Method and Description |
|---|---|
void |
handle(@NotNull ErrorContext<A> context)
Handles the exception.
|
void handle(@NotNull
@NotNull ErrorContext<A> context)
context - The error context