Uses of Class
com.google.genkit.ai.agent.RuntimeError
Packages that use RuntimeError
Package
Description
This package provides types for the Genkit agents feature, including enums and models for agent
state snapshots, agent execution lifecycle, and agent-related operations.
-
Uses of RuntimeError in com.google.genkit.ai.agent
Methods in com.google.genkit.ai.agent that return RuntimeErrorModifier and TypeMethodDescriptionRuntimeError.Builder.build()AgentOutput.getError()Returns the runtime error, if any.SessionSnapshot.getError()Returns the runtime error, if any.SessionRunner.lastTurnError()Returns the error from the last failed turn, ornullif the last turn succeeded.Methods in com.google.genkit.ai.agent with parameters of type RuntimeErrorModifier and TypeMethodDescriptionAgentOutput.Builder.error(RuntimeError error) SessionSnapshot.Builder.error(RuntimeError error) voidAgentOutput.setError(RuntimeError error) Sets the runtime error.voidSessionSnapshot.setError(RuntimeError error) Sets the runtime error. -
Uses of RuntimeError in com.google.genkit.ai.agent.internal
Methods in com.google.genkit.ai.agent.internal that return RuntimeErrorModifier and TypeMethodDescriptionSessionResolver.Resolution.error()Returns the runtime error, ornullif this is a successful resolution.Methods in com.google.genkit.ai.agent.internal with parameters of type RuntimeErrorModifier and TypeMethodDescriptionstatic <S> SessionResolver.Resolution<S> SessionResolver.Resolution.failure(RuntimeError error) Creates a failure resolution carrying aRuntimeError.