Failed

class Failed<Output>(val exception: Throwable) : AIAgentState<Output> (source)

Represents a state indicating an operation has failed.

Constructors

Link copied to clipboard
constructor(exception: Throwable)

Properties

Link copied to clipboard

The throwable that caused the failure.

Functions

Link copied to clipboard
open override fun copy(): AIAgentState<Output>

Creates and returns a copy of the current state object.