AgentPrismException
AgentPrism.Abstractions.dllBase class for every error AgentPrism raises.
public class AgentPrismException : Exception, ISerializableInheritance
Section titled “Inheritance”object ← Exception ← AgentPrismException
Derived
Section titled “Derived”AgentPrismCompilationException, AgentPrismContentBlockedException, AgentPrismContentFilteredException, AgentPrismExternalCallException, AgentPrismProviderUnavailableException, AgentPrismSessionConflictException, AgentPrismToolTimeoutException, JobRetryException, ReplayToolMismatchException
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”AgentPrismException()
Section titled “ AgentPrismException()”Creates a new error.
public AgentPrismException()AgentPrismException(string)
Section titled “ AgentPrismException(string)”Creates a new error.
public AgentPrismException(string message)Parameters
Section titled “Parameters”message string
The error message.
AgentPrismException(string, Exception)
Section titled “ AgentPrismException(string, Exception)”Creates a new error.
public AgentPrismException(string message, Exception innerException)Parameters
Section titled “Parameters”message string
The error message.
innerException Exception
The underlying error.
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 AgentPrismContentFilteredException
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.