.NET API
TraconExternalCallException
Tracon.Abstractions.dllThrown when an external caller (over MCP or A2A) asked to invoke an agent from the catalog and the call was refused because it crosses a boundary.
public sealed class TraconExternalCallException : TraconException, ISerializable- Inheritance
- object ← Exception ← TraconException ← TraconExternalCallException
- Implements
- ISerializable
- 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”The most common cause is an external caller trying to open an agent that carries a tool requiring approval. An external caller is not an agent and cannot answer an approval request — the same rule, applied a second time.
Constructors
Section titled “Constructors”TraconExternalCallException()
Section titled “ TraconExternalCallException()”Creates a new error.
public TraconExternalCallException()TraconExternalCallException(string)
Section titled “ TraconExternalCallException(string)”Creates a new error.
public TraconExternalCallException(string message)Parameters
Section titled “Parameters”message string
The error message.
TraconExternalCallException(string, Exception)
Section titled “ TraconExternalCallException(string, Exception)”Creates a new error.
public TraconExternalCallException(string message, Exception innerException)Parameters
Section titled “Parameters”message string
The error message.
innerException Exception
The underlying error.
Fields
Section titled “Fields”ExternalCallRejectedErrorType
Section titled “ ExternalCallRejectedErrorType”The stable value written to TraconException.ErrorType.
public const string ExternalCallRejectedErrorType = "external_call_rejected"Field Value
Section titled “Field Value”Properties
Section titled “Properties”AgentName
Section titled “ AgentName”Gets the agent the caller asked for.
public required string AgentName { get; init; }Property Value
Section titled “Property Value”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.
Protocol
Section titled “ Protocol”Gets the protocol the call arrived on: mcp or a2a.
public required string Protocol { get; init; }