Skip to main content
Writes zero or more values to the current Windows console with stdout after setting the console text attribute to error text color. Values are converted to strings, separated with tabs, and the text attribute is set to default console text color afterward. If no console window exists, the call returns without converting or writing anything.

Syntax

Aliases

  • consoleerr

Arguments

Example

Write a bright red message to the current Windows console without throwing a Luau error.