namespace StellaOps.TestKit.Observability;
///
/// Exception thrown when an observability contract assertion fails.
///
///
/// Contract violations indicate that telemetry output doesn't conform to
/// expected schemas, cardinality limits, or data quality requirements.
///
public sealed class ContractViolationException : Exception
{
///
/// Creates a new contract violation exception.
///
/// Description of the contract violation.
public ContractViolationException(string message) : base(message)
{
}
///
/// Creates a new contract violation exception with an inner exception.
///
/// Description of the contract violation.
/// The underlying exception.
public ContractViolationException(string message, Exception innerException)
: base(message, innerException)
{
}
}