mvSapphire / PowerPipe

A library for .NET that uses a fluent interface to construct advanced workflows with ease.
MIT License
174 stars 9 forks source link

Fixed false OnError call when exception raised from different step #16

Closed mvSapphire closed 10 months ago

mvSapphire commented 10 months ago

If the pipeline has two steps A and B with ErrorHandling added by OnError method and an exception is raised by step B error handling will be executed on both steps.

To prevent this error handling will be executed on all errors except internal PipelineExecutionException.