CommandExceptionBuilder
A builder for creating command exception messages with contextual information. This builder constructs user-friendly error messages for commands, optionally including a specified prefix, detailed error messages, and contextual information about the command input.
Parameters
detailErrorMessage
An optional detailed error message to include in the output.
input
The command input string being processed.
cursor
The position within the input where the error occurred.
Functions
Link copied to clipboard
Builds the command exception message with the default prefix (Colors.PREFIX).
Builds the command exception message with the given prefix.