# Interface CliError

CLI execution error.

interface CliError {
code: CliErrorCode;
message: string;
cli: "claude" | "gemini" | "codex" | "opencode";
cause?: Error;
retryable: boolean;
}

- Defined in packages/nexus-agents/src/cli-adapters/types-core.ts:78

##### Index

### Properties

code
message
cli
cause?
retryable

## Properties

### `Readonly` code

code: CliErrorCode

Error code

- Defined in packages/nexus-agents/src/cli-adapters/types-core.ts:80

### `Readonly` message

message: string

Human-readable message

- Defined in packages/nexus-agents/src/cli-adapters/types-core.ts:82

### `Readonly` cli

cli: "claude" | "gemini" | "codex" | "opencode"

CLI that produced the error

- Defined in packages/nexus-agents/src/cli-adapters/types-core.ts:84

### `Optional` `Readonly` cause

cause?: Error

Underlying error (if any)

- Defined in packages/nexus-agents/src/cli-adapters/types-core.ts:86

### `Readonly` retryable

retryable: boolean

Whether the error is retryable

- Defined in packages/nexus-agents/src/cli-adapters/types-core.ts:88