-
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.
fix(CA1711)!: rename OnException to OnError and ExceptionContext to E…
…rrorContext.
- Loading branch information
Showing
10 changed files
with
89 additions
and
83 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace Correlate; | ||
|
||
/// <summary> | ||
/// A delegate for handling errors inside correlation scope. | ||
/// </summary> | ||
/// <param name="errorContext">The error context.</param> | ||
#pragma warning disable CA1711 | ||
public delegate void OnError(ErrorContext errorContext); | ||
|
||
/// <summary> | ||
/// A delegate for handling errors inside correlation scope. | ||
/// </summary> | ||
/// <param name="errorContext">The error context.</param> | ||
public delegate void OnError<T>(ErrorContext<T> errorContext); | ||
#pragma warning restore CA1711 |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.