SwiftstructIntelligenceFlowPlannerSupport

struct IntelligenceFlowPlannerSupport.AgentError

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 19

  1. varstatic var errorDomainValue: String { get }
  2. fieldlet agentID: IntelligenceFlow.AgentID?
  3. fieldlet failure: IntelligenceFlowPlannerSupport.AgentError.Failure
  4. fieldvar metadata: IntelligenceFlow.StructuredErrorMetadata
  5. funcredactedForFeatureStore() -> IntelligenceFlowPlannerSupport.AgentError
  6. initinit(transcript: IntelligenceFlowProto.TranscriptProtoAgentError) throws -> IntelligenceFlowPlannerSupport.AgentError
  7. initinit(currentVersion: IntelligenceFlowProto.VersionedTranscriptProtoAgentError.V1) throws -> IntelligenceFlowPlannerSupport.AgentError
  8. initinit(failure: IntelligenceFlowPlannerSupport.AgentError.Failure, agentID: IntelligenceFlow.AgentID, underlyingError: IntelligenceFlow.StructuredError) -> IntelligenceFlowPlannerSupport.AgentError
  9. initinit(failure: IntelligenceFlowPlannerSupport.AgentError.Failure, agentID: IntelligenceFlow.AgentID?) -> IntelligenceFlowPlannerSupport.AgentError
  10. initinit(failure: IntelligenceFlowPlannerSupport.AgentError.Failure) -> IntelligenceFlowPlannerSupport.AgentError
  11. typealiastypealias TranscriptType = IntelligenceFlowProto.TranscriptProtoAgentError
  12. typealiastypealias VersionedTranscriptType = IntelligenceFlowProto.VersionedTranscriptProtoAgentError
  13. varvar errorCode: Int { get }
  14. varvar errorCodeValue: Int { get }
  15. varvar errorDomain: String { get }
  16. varvar fullDescription: String { get }
  17. varvar innerError: IntelligenceFlowPlannerSupport.ErrorHierarchy { get }
  18. varvar timestamp: Foundation.Date { get set }
  19. varvar underlyingErrors: [IntelligenceFlow.StructuredError] { get set }
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
    }
}