A2UIError

data class A2UIError

A problem with a reply's A2UI, as A2UI reports it to the agent: a message that doesn't read, a component or function its catalog doesn't have, or a value its data model can't take.

Parameters

code

The error's code in A2UI 1.0, such as VALIDATION_FAILED.

message

What went wrong, written for the agent.

surfaceId

The surface it happened on, when it belongs to one.

path

A JSON Pointer to the part of the agent's message at fault, when there is one.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val path: String?
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String