# ErrEcho(string)

Source: https://help.malighting.com/grandMA3/2.3/HTML/lua_objectfree_errecho.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
## Description

The **ErrEcho** Lua function prints a red error message on the [System Monitor](/grandma3/2-3/si_system_monitor/).

## Argument

- **String**:\
  The string text is to be printed to the System Monitor.

## Return

This function does not return anything.

## Example

This prints "This is a red error message!" on the system monitor:

|                                                                                                                                          |
| ---------------------------------------------------------------------------------------------------------------------------------------- |
| [Copy Code](javascript:void\(0\))Lua                                                                                                     |
| ```
return function()
    -- Prints an error message in the system monitor in red text.
    ErrEcho("This is an error message!")
end
``` |