@threadplane/a2uiInterfacev0.3.4

A2uiErrorMessage

Versioned A2UI error envelope with a code and optional surface, path, and message details.

import type { A2uiErrorMessage } from '@threadplane/a2ui';

Declaration

export interface A2uiErrorMessage  {
  error: {
        code: string;
        surfaceId?: string;
        path?: string;
        message?: string;
    };
  version: string;
}

Members

error

error: {
        code: string;
        surfaceId?: string;
        path?: string;
        message?: string;
    };

version

version: string;