Tidy up more core node help text

This commit is contained in:
Nick O'Leary
2017-05-23 17:26:23 +01:00
parent 3d2e6aea7b
commit dfe1cd4f90
7 changed files with 65 additions and 77 deletions

View File

@@ -28,27 +28,26 @@
<p>Catch errors thrown by nodes on the same tab.</p>
<h3>Outputs</h3>
<dl class="message-properties">
<dt>msg <span class="property-type">object</span></dt>
<dd>the original msg object message (if available).</dd>
<dt>msg.error.message <span class="property-type">string</span></dt>
<dt>error.message <span class="property-type">string</span></dt>
<dd>the error message.</dd>
<dt>msg.error.source.id <span class="property-type">string</span></dt>
<dt>error.source.id <span class="property-type">string</span></dt>
<dd>the id of the node that threw the error.</dd>
<dt>msg.error.source.type <span class="property-type">string</span></dt>
<dt>error.source.type <span class="property-type">string</span></dt>
<dd>the type of the node that threw the error.</dd>
<dt>msg.error.source.name <span class="property-type">string</span></dt>
<dt>error.source.name <span class="property-type">string</span></dt>
<dd>the name, if set, of the node that threw the error.</dd>
</dl>
<h3>Details</h3>
<p>If a node throws a error whilst handling a message, the flow will typically
<p>If a node throws an error whilst handling a message, the flow will typically
halt. This node can be used to catch those errors and handle them with a
dedicated flow.</p>
<p>The node will catch errors thrown by any node on the same tab. If there
are multiple catch nodes on a tab, they will all get triggered.</p>
<p>By default, the node will catch errors thrown by any node on the same tab. Alternatively
it can be targetted at specific nodes.</p>
<p>When an error is thrown, all matching catch nodes will receive the message.</p>
<p>If an error is thrown within a subflow, the error will get handled by any
catch nodes within the subflow. If none exists, the error is propagated
catch nodes within the subflow. If none exists, the error will be propagated
up to the tab the subflow instance is on.</p>
<p>If the message already had a <code>error</code> property, it is copied to <code>_error</code>.</p>
<p>If the message already has a <code>error</code> property, it is copied to <code>_error</code>.</p>
</script>
<style>
#node-input-catch-target-container {