ADK for TypeScript: API Reference
    Preparing search index...

    Class NodeReportedError

    Raised when a node reported a failure by emitting an error event instead of throwing, and produced nothing.

    A regular Error, so retryConfig can retry it via exceptions: ['NodeReportedError']; code carries the reported error code.

    Hierarchy

    • Error
      • NodeReportedError

    Constructors

    • Parameters

      • options: { errorCode?: string; errorMessage?: string; nodeName: string }
        • OptionalerrorCode?: string

          The code carried on the reported event.

        • OptionalerrorMessage?: string

          The message carried on the reported event.

        • nodeName: string

          The node that reported the error.

      Returns NodeReportedError

    Properties

    code: string
    nodeName: string