SubagentExecutionRequest

class SubagentExecutionRequest(val instance: Any, val type: Class<*>) : SpecialReturnException

Internal exception to signal sub-agent execution.

Constructors

Link copied to clipboard
constructor(instance: Any, type: Class<*>)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
open val message: String?
Link copied to clipboard
val type: Class<*>

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun handle(actionContext: ActionContext): Any

Process the special return and produce the final result. This should be of the expected type, although Exception classes cannot be parameterized.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard