.NET API
TraconException
Tracon.Abstractions.dllBase class for every error Tracon raises.
public class TraconException : Exception, ISerializableInheritance
Section titled “Inheritance”object ← Exception ← TraconException
Derived
Section titled “Derived”EvalRunDiffUnavailableException, JobRetryException, ReplayToolMismatchException, TraconAgentSourceException, TraconCompilationException, TraconContentBlockedException, TraconContentFilteredException, TraconExternalCallException, TraconProviderUnavailableException, TraconRunBudgetExceededException, TraconSessionConflictException, TraconSessionOwnerRequiredException, TraconStructuredResponseException, TraconToolTimeoutException
Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”Exception.GetBaseException(), Exception.ToString(), Exception.GetType(), Exception.TargetSite, Exception.Message, Exception.Data, Exception.InnerException, Exception.HelpLink, Exception.Source, Exception.HResult, Exception.StackTrace, Exception.SerializeObjectState, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”TraconException()
Section titled “ TraconException()”Creates a new error.
public TraconException()TraconException(string)
Section titled “ TraconException(string)”Creates a new error.
public TraconException(string message)Parameters
Section titled “Parameters”message string
The error message.
TraconException(string, Exception?)
Section titled “ TraconException(string, Exception?)”Creates a new error.
public TraconException(string message, Exception? innerException)Parameters
Section titled “Parameters”message string
The error message.
innerException Exception?
The underlying error, or null when there is none to carry.
Properties
Section titled “Properties”ErrorType
Section titled “ ErrorType”Gets the stable error type name written to the run record.
public virtual 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.