< Summary

Information
Class: Elsa.Workflows.Runtime.StimulusQueueOverflowException
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Exceptions/StimulusQueueOverflowException.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 18
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%210%
.ctor(...)100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Exceptions/StimulusQueueOverflowException.cs

#LineLine coverage
 1namespace Elsa.Workflows.Runtime;
 2
 3/// <summary>
 4/// Thrown by an <c>IBookmarkQueue</c> decorator when the queue depth exceeds the configured threshold while the
 5/// runtime is paused AND <c>GracefulShutdownOptions.OverflowPolicy</c> is set to <c>Reject</c>. Upstream transports
 6/// should translate this into their own back-pressure primitive (e.g., NACK + retry-after on a message broker).
 7/// See FR-026 and research R6.
 8/// </summary>
 9public sealed class StimulusQueueOverflowException : Exception
 10{
 011    public StimulusQueueOverflowException(string message) : base(message)
 12    {
 013    }
 14
 015    public StimulusQueueOverflowException(string message, Exception inner) : base(message, inner)
 16    {
 017    }
 18}