rconsoleerr

Prints an error message to the console.

Syntax

rconsoleerr(data: any, async?: boolean) -> ()

Parameters

ParameterTypeDescription
dataanyValue to format after the [ERROR] prefix
asyncboolean?Yield while writing on the console task (default: true)

Returns

This function does not return a value.

Description

rconsoleerr prints an error-level message to the console, typically displayed in red or with an error prefix.

Example

rconsoleshow()

rconsoleerr("Failed to load module!")
rconsoleerr("Connection timed out")