Core Triggers and Actions - Error Action

The Error Action simply throws an exception, which forces error handling to occur. This is used to explicitly mark a situation where an error would occur, but an exception would not be automatically thrown. For example, if you are using Flux to process all the files in a directory, and at any given time the workflow that processes these files finds there should be at least five files in the folder, the workflow could use a combination of a conditional flow and an Error Action to force error handling to occur.