rconsoleerr
Prints an error message to the console.
Syntax
rconsoleerr(data: any, async?: boolean) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
data | any | Value to format after the [ERROR] prefix |
async | boolean? | 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")Related Functions
rconsoleprint- Print plain textrconsoleinfo- Print inforconsolewarn- Print warning