AIAgentError

class AIAgentError(message: String? = null) : Exception

The agent couldn't answer: it said so, such as with an AIAgentActivity in the AIAgentActivity.State.Error state, or its reply didn't start in time.

Parameters

message

What the agent said about it, if anything. Show a message of your own when it is null or empty.

Constructors

Link copied to clipboard
constructor(message: String? = null)

Properties

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

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String