Forwards any input to the error output and skips the normal output. Mostly intended for testing purposes (e.g. to test error branches).
- Service:
CleverAge\ProcessBundle\Task\Debug\ErrorForwarderTask - Code:
error_forwarder(task: error_forwarder)
any
None on the normal output (the task is always skipped).
Error output: any, the input, unchanged
This task has no option.
- Send every item to an error branch
# Task configuration level
entry:
task: constant_iterable_output
options:
output: [Error 1, Error 2, Error 3]
outputs: [error_forwarder]
error_forwarder:
task: error_forwarder
error_outputs: [debug]
debug:
task: debug