Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
skip_on_error [2016/05/20 05:37]
hermann [Notes]
skip_on_error [2026/08/28 03:34] (current)
hermann Sync from local documentation review
Line 1: Line 1:
-====== Skip On Error ====== ​ +====== Skip On Error ======
  
 ===== Description ===== ===== Description =====
  
-This container executes the functors ​within ​it and captures and ignores ​any error that may occur during ​the execution of the enveloped functors+This container executes the functors it contains, capturing ​and discarding ​any error raised ​during ​their execution ​instead ​of letting it stop the model.
  
 ===== Inputs ===== ===== Inputs =====
 +
 +None.
  
 ===== Optional Inputs ===== ===== Optional Inputs =====
 +
 +^ Name  ^ Type  ^ Description ​ ^ Default Value  ^
 +| Trap And Ignore Errors ​ | [[Boolean Value Type]] ​ | If true, an error raised by a contained functor is captured and ignored. If false, this container behaves like a regular [[Group]] and lets the error propagate. ​ | Yes  |
  
 ===== Outputs ===== ===== Outputs =====
 +
 +^ Name  ^ Type  ^ Description ​ ^
 +| Execution Completed Successfully ​ | [[Boolean Value Type]] ​ | True if the contained functors ran to completion without errors. This output can be ignored. ​ |
  
 ===== Group ===== ===== Group =====
Line 16: Line 23:
 [[Functor List#​Control | Control]] [[Functor List#​Control | Control]]
  
-===== Notes ===== +===== Notes ===== 
 + 
 +Unlike [[Skip All On Error]], results already produced by contained functors before the error occurred are preserved and remain usable by functors outside this container.
  
-Any error occurring in any functor ​within this container will be ignored, thus avoiding the premature termination of the model. In case an output ​is expected ​outside ​of this container, a link between the external ​functor and its precedent within ​the container ​must be established using a type of join functorotherwise ​all subsequent execution ​will be canceled.+When a result produced by a contained ​functor is used outside this container, ​connect ​matching junction (such as [[Map Junction]] or [[Value Junction]]) ​between the contained ​functor and the one that uses its result outside ​the container; otherwise, all subsequent execution ​is cancelled when an error occurs.
  
-Unlike its [[Skip All On Error]] counterpart,​ this container ​does not discard the results produced by any contained functors ​that were run before ​the occurrence ​of an error.+This functor ​does not capture errors ​that cannot be ignored, nor the cancellation ​of the model by the user.
  
-===== Internal Name ===== +===== Internal Name =====
  
 SkipOnError SkipOnError