Hub
Pricing About
NodeNode / ScopeEnd

Catch Errors (Generic Ports)

Workflow ControlError Handling
Drag & drop
Like

This node forwards the input from the first port if the execution was successful. If execution on the top branch failed (and a matching try node was connected before the failing node!) then the input from the second port will be forwarded and the second variable outport will contain information about the observed error.
When the upstream branch fails, the following flow variables are pushed on the output:

  • FailingNode - the name of the failing node (or its enclosing component when a node inside a component fails).
  • FailingNodeMessage - the failure message as shown in the node monitor. For failures inside (nested) components this is shortened to the first level of nesting so the message stays compact.
  • FailingNodeDetails - detailed error information for the failing node and nested components. Can be exported as JSON when the Export details as JSON option is enabled. Use this variable when detailed error inspection is needed for logging or root-cause analysis.
  • FailingNodeStackTrace - the JVM stack trace of the underlying exception, if available.

Node details

Input ports
  1. Type: PortObject
    Original input
    The original input
  2. Type: PortObject
    Default input
    The input to be used when execution on the main branch failed.
Output ports
  1. Type: PortObject
    Output
    Original input or default if execution failed.
  2. Type: Flow Variable
    Failure
    Reasons for Failure (if any).

Extension

The Catch Errors (Generic Ports) node is part of this extension:

  1. Go to item

Related workflows & nodes

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2026 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits