# How can I set the error indicator (little red triangle) of a node in the editor?

**URL:** <https://discourse.nodered.org/t/how-can-i-set-the-error-indicator-little-red-triangle-of-a-node-in-the-editor/51481>\
**Category:** Developing Nodes\
**Created:** [24 September 2021 15:57 UTC](https://discourse.nodered.org/t/how-can-i-set-the-error-indicator-little-red-triangle-of-a-node-in-the-editor/51481 "2021-09-24T15:57:07Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [28 September 2021 12:25 UTC](https://discourse.nodered.org/t/how-can-i-set-the-error-indicator-little-red-triangle-of-a-node-in-the-editor/51481/21 "2021-09-28T12:25:35Z")

</div>

You look at the `scope` property of the Catch node. If is is null/absent, then it will catch errors from any node on the tab. Otherwise the property is an array of node ids.

That said, if scope is null and `uncaught` is true, then it will only handle errors for nodes that aren't targeted by another Catch node in the tab.

---

<div class="post-metadata">

**Author:** ![rozek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rozek/32/48594_2.png) [@rozek](https://discourse.nodered.org/u/rozek)\
**Post date:** [28 September 2021 12:26 UTC](https://discourse.nodered.org/t/how-can-i-set-the-error-indicator-little-red-triangle-of-a-node-in-the-editor/51481/22 "2021-09-28T12:26:50Z")

</div>

Perfect, thank you very much! I really appreciate your quick responses!

---

<div class="post-metadata">

**Author:** ![rozek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rozek/32/48594_2.png) [@rozek](https://discourse.nodered.org/u/rozek)\
**Post date:** [29 September 2021 09:31 UTC](https://discourse.nodered.org/t/how-can-i-set-the-error-indicator-little-red-triangle-of-a-node-in-the-editor/51481/23 "2021-09-29T09:31:19Z")

</div>

Are there also runtime equivalents for `RED.nodes.getAllFlowNodes`, `RED.nodes.getAllUpstreamNodes` and `RED.nodes.getAllDownstreamNodes`?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [29 September 2021 09:32 UTC](https://discourse.nodered.org/t/how-can-i-set-the-error-indicator-little-red-triangle-of-a-node-in-the-editor/51481/24 "2021-09-29T09:32:49Z")

</div>

No. As I have explained before, the runtime does not provide very much to help you navigate the flow because it is not something we expect nodes to be doing.

---

<div class="post-metadata">

**Author:** ![rozek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rozek/32/48594_2.png) [@rozek](https://discourse.nodered.org/u/rozek)\
**Post date:** [29 September 2021 09:34 UTC](https://discourse.nodered.org/t/how-can-i-set-the-error-indicator-little-red-triangle-of-a-node-in-the-editor/51481/25 "2021-09-29T09:34:03Z")

</div>

Thanks a lot for the immediate response...unfortunately, I already expected such an answer

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [28 November 2021 09:34 UTC](https://discourse.nodered.org/t/how-can-i-set-the-error-indicator-little-red-triangle-of-a-node-in-the-editor/51481/26 "2021-11-28T09:34:58Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/how-can-i-set-the-error-indicator-little-red-triangle-of-a-node-in-the-editor/51481.md?page=1)
