Skip to content

UncageClientError

View as Markdown

Defined in: client/src/errors.ts:17

  • Error
new UncageClientError(body, status): UncageClientError;

Defined in: client/src/errors.ts:24

Parameter Type
body Pick<ErrorBody, "code" | "message" | "retryable" | "hint" | "details">
status number

UncageClientError

Error.constructor

readonly code:
| "auth_required"
| "runtime_unavailable"
| "unsupported_capability"
| "invalid_workspace"
| "session_busy"
| "session_read_only"
| "not_found"
| "unauthorized"
| "forbidden_origin"
| "invalid_request"
| "approval_expired"
| "approval_already_resolved"
| "event_replay_unavailable"
| "runtime_disconnected"
| "policy_denied"
| "store_locked"
| "attachment_too_large"
| "attachment_type_unsupported"
| "machine_offline"
| "machine_not_found"
| "upgrade_required"
| "tool_failed"
| "device_code_expired"
| "rate_limited"
| "internal_error";

Defined in: client/src/errors.ts:18


readonly details?: Record<string, unknown>;

Defined in: client/src/errors.ts:22


readonly hint?: string;

Defined in: client/src/errors.ts:19


readonly retryable: boolean;

Defined in: client/src/errors.ts:21


readonly status: number;

Defined in: client/src/errors.ts:20