-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed on error suppress behavior; Fixed nested pipelines error hand…
…ling (#60) * Changed on error suppress behavior * Fixed nested pipelines error handling * added more onError tests
- Loading branch information
1 parent
2b75ff3
commit 413c598
Showing
7 changed files
with
138 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/PowerPipe/Exceptions/NestedPipelineExecutionException.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
|
||
namespace PowerPipe.Exceptions; | ||
|
||
/// <summary> | ||
/// Represents an exception that occurs during nested pipeline execution. | ||
/// </summary> | ||
public class NestedPipelineExecutionException : Exception | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="NestedPipelineExecutionException"/> class with a specified exception. | ||
/// </summary> | ||
/// <param name="exception">The inner exception that caused the nested pipeline execution to fail.</param> | ||
public NestedPipelineExecutionException(Exception exception) | ||
: base("Nested pipeline execution failed", exception) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters