formatError

fun formatError(message: String): Component(source)

Formats an error message with the prefix and red text.

Return

A formatted Component with red text

Parameters

message

The error message text