> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# rconsoleerr

> Ghi khong hoac nhieu gia tri vào Windows console hiện tại qua stdout sau khi đặt console text attribute thành error text color. Giá trị được chuyển đổi bằng Lua string conversion, phân tách bằng ký tự tab, và text attribute duoc dat thanh default console text color sau do. Nếu không có console window, lời gọi sẽ trả về ma khong chuyen doi hoac ghi gi.

<div className="real-function-page">
  ```lua theme={null}
  rconsoleerr(...values?: ...any)
  ```

  ## Alias

  * `consoleerr`

  ## Đối số

  <ParamField path={"...values"} type={"...any"}>
    Cac gia tri tuy chon. Neu co console, moi value duoc chuyen doi bang Lua string conversion va noi bang ky tu tab truoc khi ghi.
  </ParamField>

  ## Ví dụ

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

  ```lua theme={null}
  rconsolecreate()
  rconsoleerr("Request failed", 500, "
  ")
  ```
</div>
