A2uiException.A2uiValidationException


class A2uiException.A2uiValidationException : A2uiException


Thrown when an incoming JSON payload from the server structurally violates its defined A2uiSchema. The framework throws this before allowing corrupted data into the state models.

Summary

Public constructors

Inherited properties

From androidx.a2ui.model.protocol.A2uiException
String

An error category identifier (such as "VALIDATION_FAILED" or "RUNTIME_ERROR") that is automatically assigned by the exception subclass.

Map<StringAny?>

A map containing custom properties and error context (such as the target path).

From kotlin.Throwable

Public constructors

A2uiValidationException

Added in 1.0.0-alpha01
A2uiValidationException(message: String, path: String)
Parameters
message: String

A human-readable description of the validation error.

path: String

The JSON pointer path identifying where the validation failure occurred.