-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
65 additions
and
85 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
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
2 changes: 1 addition & 1 deletion
2
Core/Cleipnir.ResilientFunctions/Domain/Exceptions/EffectException.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
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
19 changes: 0 additions & 19 deletions
19
Core/Cleipnir.ResilientFunctions/Domain/Exceptions/FunctionInvocationPostponedException.cs
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
Core/Cleipnir.ResilientFunctions/Domain/Exceptions/FunctionInvocationSuspendedException.cs
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
Core/Cleipnir.ResilientFunctions/Domain/Exceptions/InvocationPostponedException.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,10 @@ | ||
using System; | ||
|
||
namespace Cleipnir.ResilientFunctions.Domain.Exceptions; | ||
|
||
public sealed class InvocationPostponedException(FlowId flowId, DateTime postponedUntil) | ||
: FlowTypeException(flowId.Type, $"{flowId} has been postponed until: '{postponedUntil:O}'") | ||
{ | ||
public FlowId FlowId { get; } = flowId; | ||
public DateTime PostponedUntil { get; } = postponedUntil; | ||
} |
7 changes: 7 additions & 0 deletions
7
Core/Cleipnir.ResilientFunctions/Domain/Exceptions/InvocationSuspendedException.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,7 @@ | ||
namespace Cleipnir.ResilientFunctions.Domain.Exceptions; | ||
|
||
public sealed class InvocationSuspendedException(FlowId flowId) | ||
: FlowTypeException(flowId.Type, $"{flowId} invocation has been suspended") | ||
{ | ||
public FlowId FlowId { get; } = flowId; | ||
} |
Oops, something went wrong.