AIAgentException

constructor(problem: String, throwable: Throwable? = null)(source)

Creates an instance of AgentException.

Parameters

problem

Description of the problem encountered by the AI Agent.

throwable

Optional cause of the exception, which can provide additional context about the error.