Class ExecutionTimeoutException
Exception thrown when mutation execution exceeds the allowed timeout.
Implements
Inherited Members
Namespace: ModularityKit.Mutator.Abstractions.Exceptions
Assembly: ModularityKit.Mutator.dll
Syntax
public sealed class ExecutionTimeoutException : MutationException, ISerializable
Remarks
ExecutionTimeoutException occurs when the mutation takes longer than the configured Timeout to complete. This helps enforce SLA and system responsiveness.
Elapsed provides the actual duration the mutation ran before timing out.
Constructors
| Edit this page View SourceExecutionTimeoutException(TimeSpan, TimeSpan)
Exception thrown when mutation execution exceeds the allowed timeout.
Declaration
public ExecutionTimeoutException(TimeSpan timeout, TimeSpan elapsed)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeSpan | timeout | The maximum allowed duration for the mutation. |
| TimeSpan | elapsed | The actual duration the mutation ran before timing out. |
Remarks
ExecutionTimeoutException occurs when the mutation takes longer than the configured Timeout to complete. This helps enforce SLA and system responsiveness.
Elapsed provides the actual duration the mutation ran before timing out.
Properties
| Edit this page View SourceElapsed
The actual elapsed time before the timeout occurred.
Declaration
public TimeSpan Elapsed { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Timeout
The configured timeout for the mutation execution.
Declaration
public TimeSpan Timeout { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |