---
title: Errors
project: LessCode
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/lesscode/1-0/guides/errors/
updated: 2026-11-19T04:41:09.250Z
---

# Errors

> See which node failed and why.

When a node raises an error, the designer shows it in three places.

![A Code node marked with a red bug icon and a red line after an error](/files/Jap1Zi2FO60f.webp)

- **On the node.** A red bug icon appears above it and a red line below it. Hold the pointer over the node to read the error.
- **In the toolbar.** The **Console** button turns red.
- **In the status bar.** The **Errors** counter goes up.

![The toolbar with the Console button in red](/files/Jap1Zk2GO61f.webp)

Open the [Console](../console/) to read the full message. It names the component and the node ID.

## Find the cause

1. Open the Console and read the error.
2. Find the node it names, double-click it and check its settings or code.
3. Send test data with a [Trigger](../test-with-trigger/) to check the fix.

In a Code node, an error that you throw stops that message:

```js
throw new Error('Demo failure');
```
