# Function cliCategorizeError

CLI Adapters exports - CLI integration with defensive parsing Split from index.ts for file size compliance (Issue #285)

- cliCategorizeError(error: CliError): CircuitBreakerFailureCategory

  Categorizes a CLI error for circuit breaker tracking. Returns a FailureCategory compatible with the circuit breaker.

  #### Parameters

  - error: CliError

  #### Returns CircuitBreakerFailureCategory

  - Defined in packages/nexus-agents/src/cli-adapters/cli-retry-loop.ts:82