@threadplane/chatInterfacev0.3.7

ThreadDirectoryError

Plain display projection of a directory failure (copy of AgentError).

import type { ThreadDirectoryError } from '@threadplane/chat';

Declaration

export interface ThreadDirectoryError  {
  readonly detail?: string;
  readonly kind: 'connection' | 'auth' | 'server' | 'interrupted' | 'aborted';
  readonly message: string;
  readonly recovery?: 'retry' | 'check' | 'none';
  readonly retryable: boolean;
  readonly status?: number;
}

Members

detail

readonly detail?: string;

kind

readonly kind: 'connection' | 'auth' | 'server' | 'interrupted' | 'aborted';

message

readonly message: string;

recovery

readonly recovery?: 'retry' | 'check' | 'none';

retryable

readonly retryable: boolean;

status

readonly status?: number;