@threadplane/coreInterfacev0.0.0

AgentError

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

Plain display projection. Classification and raw causes remain with the adapter.

import type { AgentError } from '@threadplane/core';

Declaration

export interface AgentError  {
  readonly detail?: string;
  readonly kind: AgentErrorKind;
  readonly message: string;
  readonly recovery?: AgentRecovery;
  readonly retryable: boolean;
  readonly status?: number;
}

Members

detail

readonly detail?: string;

kind

readonly kind: AgentErrorKind;

message

readonly message: string;

recovery

readonly recovery?: AgentRecovery;

retryable

readonly retryable: boolean;

status

readonly status?: number;