ParameterContractViolationException
Exceptions · AiDotNet.Models.Parameters
Thrown when a parameter source’s concrete vector disagrees with the manifest snapshot that describes it.
Inheritance: Exception → SystemException → InvalidOperationException → ParameterContractViolationException
How It Works
Continuing after this condition would shift every following component and silently restore values into the wrong owner. The registry therefore fails before returning or applying a partial vector.
Constructors
| Constructor | Summary |
|---|---|
ParameterContractViolationException(string operation, string stableId, long expectedCount, long actualCount) |
Creates a count-drift failure for one stable component identity. |
Properties
| Property | Summary |
|---|---|
long ActualCount { get; } |
The concrete count returned by the source. |
long ExpectedCount { get; } |
The count captured from the manifest. |
string Operation { get; } |
The operation that detected the disagreement. |
string StableId { get; } |
The durable component identity whose source violated the contract. |