AIAgentException

open class AIAgentException(problem: String, throwable: Throwable? = null) : Throwable(source)

Represents a custom exception class for use in AI Agent-related processes.

This exception is thrown when the AI Agent encounters a specific problem that requires handling or reporting. It extends the base Throwable class and provides a detailed message for easier identification of the issue.

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.

Constructors

Link copied to clipboard
constructor(problem: String, throwable: Throwable? = null)

Creates an instance of AgentException.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?

Functions

Link copied to clipboard