rconsoleerr Synchronous

  • consoleerr
  • rconsoleerror

Write an error message to the script console. The supplied value is converted to text. Use it to report an operation that failed. Printing the message does not itself raise an exception or stop the script.

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

Parameters

Function parameters
ParameterTypeDescription
dataanyValue to stringify and display.
asyncboolean?Optional compatibility flag. It is validated as a boolean but does not schedule asynchronous output.

Returns

()

This function returns no values.

Example

Example
Luau
rconsoleshow()
rconsoleerr("Could not parse the selected JSON document.")
Kawaii documentation