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

    Class ToolExecutionError

    Represents an error that occurs during the execution of a tool.

    Hierarchy

    • Error
      • ToolExecutionError

    Constructors

    Properties

    errorType?: string

    The semantic error type (e.g. ToolErrorType.REQUEST_TIMEOUT or '500'). Used to populate the error.type span attribute in OpenTelemetry traces.