.NET API
EvalRunDiffUnavailableException
Tracon.Abstractions.dllThrown by IEvalStore.DiffRunsAsync when two eval runs exist but cannot be compared.
public sealed class EvalRunDiffUnavailableException : TraconException, ISerializableInheritance
Section titled “Inheritance”object ← Exception ← TraconException ← EvalRunDiffUnavailableException
Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”TraconException.ErrorType, Exception.GetBaseException(), Exception.ToString(), Exception.GetType(), Exception.TargetSite, Exception.Message, Exception.Data, Exception.InnerException, Exception.HelpLink, Exception.Source, Exception.HResult, Exception.StackTrace, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”This is thrown rather than answered with an empty EvalRunDiff on purpose. An empty diff reads as “nothing changed”, which turns a CI gate green — the worst possible failure mode for a regression check. A caller that cannot compare must be forced to say so.
The message is written for an operator and is not translated (server responses carry one language).
Constructors
Section titled “Constructors”EvalRunDiffUnavailableException()
Section titled “ EvalRunDiffUnavailableException()”Creates a new error.
public EvalRunDiffUnavailableException()EvalRunDiffUnavailableException(string)
Section titled “ EvalRunDiffUnavailableException(string)”Creates a new error.
public EvalRunDiffUnavailableException(string message)Parameters
Section titled “Parameters”message string
The error message.
EvalRunDiffUnavailableException(string, Exception)
Section titled “ EvalRunDiffUnavailableException(string, Exception)”Creates a new error.
public EvalRunDiffUnavailableException(string message, Exception innerException)Parameters
Section titled “Parameters”message string
The error message.
innerException Exception
The underlying error.
EvalRunDiffUnavailableException(EvalRunDiffUnavailableReason, string)
Section titled “ EvalRunDiffUnavailableException(EvalRunDiffUnavailableReason, string)”Creates a new error that states why the comparison is impossible.
public EvalRunDiffUnavailableException(EvalRunDiffUnavailableReason reason, string message)Parameters
Section titled “Parameters”reason EvalRunDiffUnavailableReason
Why the two runs cannot be compared.
message string
The error message.
Fields
Section titled “Fields”EvalRunDiffUnavailableErrorType
Section titled “ EvalRunDiffUnavailableErrorType”The stable value written to TraconException.ErrorType.
public const string EvalRunDiffUnavailableErrorType = "eval_run_diff_unavailable"Field Value
Section titled “Field Value”Properties
Section titled “Properties”ErrorType
Section titled “ ErrorType”Gets the stable error type name written to the run record.
public override string ErrorType { get; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Defaults to the full name of the exception type, so today’s behaviour does
not change. A derived type overrides this member when the record has to be
machine readable — for example TraconContentFilteredException
writes content_filtered. Reports and alert rules can rely on this
stable name instead of an assembly name.
The value is written to RunError.Type and carries no secret.
Reason
Section titled “ Reason”Why the two runs cannot be compared.
public EvalRunDiffUnavailableReason Reason { get; }