CommandArgumentError

An error with an argument to a command.

Types

Link copied to clipboard

Properties

Link copied to clipboard
abstract val argument: <Error class: unknown class>?

Position of the problematic argument.

Link copied to clipboard
abstract val indexError: IndexError
Link copied to clipboard
Link copied to clipboard

Returns the field-presence view for this CommandArgumentError instance.

Functions

Link copied to clipboard
fun CommandArgumentError.copy(body: <Error class: unknown class>.() -> Unit = {}): CommandArgumentError

Copies the original message, including unknown fields.