UncageClientError
View as MarkdownDefined in: client/src/errors.ts:17
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new UncageClientError(body, status): UncageClientError;Defined in: client/src/errors.ts:24
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
body |
Pick<ErrorBody, "code" | "message" | "retryable" | "hint" | "details"> |
status |
number |
Returns
Section titled “Returns”UncageClientError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”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
details?
Section titled “details?”readonly details?: Record<string, unknown>;Defined in: client/src/errors.ts:22
readonly hint?: string;Defined in: client/src/errors.ts:19
retryable
Section titled “retryable”readonly retryable: boolean;Defined in: client/src/errors.ts:21
status
Section titled “status”readonly status: number;Defined in: client/src/errors.ts:20