Volt

rconsoleerr

Prints an error message to the console.

Syntax

rconsoleerr(text: string) -> void

Parameters

ParameterTypeDescription
textstringThe error message

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")

On this page