A2uiValidationErrorMessage

Unpublished development API. This package is under development and is not available as a published release.

The v0.9 client error an application may send when a press was blocked by validation.

import type { A2uiValidationErrorMessage } from '@threadplane/content/a2ui';

Declaration

export interface A2uiValidationErrorMessage  {
  readonly error: {
        readonly code: 'VALIDATION_FAILED';
        readonly surfaceId: string;
        readonly path?: string;
        readonly message: string;
    };
  readonly version: 'v0.9';
}

Members

error

readonly error: {
        readonly code: 'VALIDATION_FAILED';
        readonly surfaceId: string;
        readonly path?: string;
        readonly message: string;
    };

version

readonly version: 'v0.9';