SwiftstructIntelligenceFlowPlannerSupport
struct IntelligenceFlowPlannerSupport.AgentError
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolFoundation.CustomNSError
- protocolFoundation.LocalizedError
- protocolIntelligenceFlow.StructuredError
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Error
Members 19
- var
static var errorDomainValue: String { get } - field
let agentID: IntelligenceFlow.AgentID? - field
let failure: IntelligenceFlowPlannerSupport.AgentError.Failure - field
var metadata: IntelligenceFlow.StructuredErrorMetadata - func
redactedForFeatureStore() -> IntelligenceFlowPlannerSupport.AgentError - init
init(transcript: IntelligenceFlowProto.TranscriptProtoAgentError) throws -> IntelligenceFlowPlannerSupport.AgentError - init
init(currentVersion: IntelligenceFlowProto.VersionedTranscriptProtoAgentError.V1) throws -> IntelligenceFlowPlannerSupport.AgentError - init
init(failure: IntelligenceFlowPlannerSupport.AgentError.Failure, agentID: IntelligenceFlow.AgentID, underlyingError: IntelligenceFlow.StructuredError) -> IntelligenceFlowPlannerSupport.AgentError - init
init(failure: IntelligenceFlowPlannerSupport.AgentError.Failure, agentID: IntelligenceFlow.AgentID?) -> IntelligenceFlowPlannerSupport.AgentError - init
init(failure: IntelligenceFlowPlannerSupport.AgentError.Failure) -> IntelligenceFlowPlannerSupport.AgentError - typealias
typealias TranscriptType = IntelligenceFlowProto.TranscriptProtoAgentError - typealias
typealias VersionedTranscriptType = IntelligenceFlowProto.VersionedTranscriptProtoAgentError - var
var errorCode: Int { get } - var
var errorCodeValue: Int { get } - var
var errorDomain: String { get } - var
var fullDescription: String { get } - var
var innerError: IntelligenceFlowPlannerSupport.ErrorHierarchy { get } - var
var timestamp: Foundation.Date { get set } - var
var underlyingErrors: [IntelligenceFlow.StructuredError] { get set }
Header
struct AgentError { enum Failure { enum CodingKeys { case instanceCreationError case warmupError case agentRunError case agentCallError case strategyNotImplemented case agentAlreadyRunning case resumeWithBadTransaction case unexpectedCallEventPayload case agentFactoryNotRegistered case agentNotConfigured case agentLifecycleManagerDeinited case agentDetectedSkimmableRequest case invalidAgentParticipant case agentPrimitiveFromUnauthorizedAgent case agentActionWhileOngoingAction case unmatchedAgentAction case agentParticipantNotFound case sessionStateError case noUsableAgentParticipants case duplicateAgentConfiguration case agentRuntimeSessionNotFound case agentRoutingLoopDetected case agentPassRoutingError case alreadyRegisteredTranscriptFilter case invalidRouteInterceptorHandoffRedirect } enum InstanceCreationErrorCodingKeys { case _0 } enum WarmupErrorCodingKeys { case _0 } enum AgentRunErrorCodingKeys { case _0 } enum AgentCallErrorCodingKeys { case _0 } enum StrategyNotImplementedCodingKeys {} enum AgentAlreadyRunningCodingKeys {} enum ResumeWithBadTransactionCodingKeys {} enum UnexpectedCallEventPayloadCodingKeys {} enum AgentFactoryNotRegisteredCodingKeys { case _0 } enum AgentNotConfiguredCodingKeys { case _0 } enum AgentLifecycleManagerDeinitedCodingKeys {} enum AgentDetectedSkimmableRequestCodingKeys { case _0 } enum InvalidAgentParticipantCodingKeys {} enum AgentPrimitiveFromUnauthorizedAgentCodingKeys { case _0 } enum AgentActionWhileOngoingActionCodingKeys { case _0 } enum UnmatchedAgentActionCodingKeys { case _0 } enum AgentParticipantNotFoundCodingKeys { case _0 } enum SessionStateErrorCodingKeys { case _0 } enum NoUsableAgentParticipantsCodingKeys {} enum DuplicateAgentConfigurationCodingKeys { case _0 } enum AgentRuntimeSessionNotFoundCodingKeys { case _0 } enum AgentRoutingLoopDetectedCodingKeys { case _0 } enum AgentPassRoutingErrorCodingKeys { case _0 } enum AlreadyRegisteredTranscriptFilterCodingKeys { case _0 } enum InvalidRouteInterceptorHandoffRedirectCodingKeys { case _0 } case instanceCreationError(IntelligenceFlowPlannerSupport.AgentFailurePayload) case warmupError(IntelligenceFlowPlannerSupport.AgentFailurePayload) case agentRunError(IntelligenceFlowPlannerSupport.AgentFailurePayload) case agentCallError(IntelligenceFlowPlannerSupport.AgentFailurePayload) case agentFactoryNotRegistered(Swift.String) case agentNotConfigured(Swift.String) case agentDetectedSkimmableRequest(Swift.String) case agentPrimitiveFromUnauthorizedAgent(Swift.String) case agentActionWhileOngoingAction(Swift.String) case unmatchedAgentAction(Swift.String) case agentParticipantNotFound(Swift.String) case sessionStateError(Swift.String) case duplicateAgentConfiguration(Swift.String) case agentRuntimeSessionNotFound(Swift.String) case agentRoutingLoopDetected(Swift.String) case agentPassRoutingError(Swift.String) case alreadyRegisteredTranscriptFilter(Swift.String) case invalidRouteInterceptorHandoffRedirect(Swift.String) case strategyNotImplemented case agentAlreadyRunning case resumeWithBadTransaction case unexpectedCallEventPayload case agentLifecycleManagerDeinited case invalidAgentParticipant case noUsableAgentParticipants init(transcript: IntelligenceFlowProto.TranscriptProtoAgentErrorFailure) throws init(currentVersion: IntelligenceFlowProto.VersionedTranscriptProtoAgentErrorFailure.V1) throws func redactedForFeatureStore() -> IntelligenceFlowPlannerSupport.AgentError.Failure } enum CodingKeys { case failure case agentID case metadata } let failure: IntelligenceFlowPlannerSupport.AgentError.Failure let agentID: IntelligenceFlow.AgentID? var metadata: IntelligenceFlow.StructuredErrorMetadata init(transcript: IntelligenceFlowProto.TranscriptProtoAgentError) throws init(currentVersion: IntelligenceFlowProto.VersionedTranscriptProtoAgentError.V1) throws init(failure: IntelligenceFlowPlannerSupport.AgentError.Failure, agentID: IntelligenceFlow.AgentID, underlyingError: any IntelligenceFlow.StructuredError) init(failure: IntelligenceFlowPlannerSupport.AgentError.Failure, agentID: IntelligenceFlow.AgentID?) init(failure: IntelligenceFlowPlannerSupport.AgentError.Failure) var errorCode: Swift.Int { get } var errorCodeValue: Swift.Int { get } var errorDomain: Swift.String { get } var fullDescription: Swift.String { get } var innerError: any IntelligenceFlowPlannerSupport.ErrorHierarchy { get } var timestamp: Foundation.Date { get set } var underlyingErrors: [any IntelligenceFlow.StructuredError] { get set } func redactedForFeatureStore() -> IntelligenceFlowPlannerSupport.AgentError static var errorDomainValue: Swift.String { get } }