build

open fun build(): Component

Builds the command exception message with the default prefix (Colors.PREFIX).

Return

The built message


open fun build(prefix: Component?): Component

Builds the command exception message with the given prefix.

Return

The built message

Parameters

prefix

The prefix to add to the message