LLM · Error
E_LLM_CLI_NONZERO
The CLI exited with non-zero status.
— · Resolution
How to recover
Inspect `error.context.stderr` for the underlying CLI message.
— · The shape
What an instance looks like
throw new AgentryError({
code: 'E_LLM_CLI_NONZERO',
phase: 'init',
message: '…contextual message…',
context: { /* adapter-specific */ },
suggestedFix: 'Inspect `error.context.stderr` for the underlying CLI message.',
docs: 'https://openagentry.dev/errors/E_LLM_CLI_NONZERO',
});
The context field carries adapter-specific
detail (HTTP status, missing env-var names, validation issues). It
never contains secret values.
— · See also
Related codes from @openagentry/adapter-llm-cli
-
E_LLM_CLI_AUTHThe CLI binary refused authentication or has no credentials configured. -
E_LLM_CLI_NOT_FOUNDThe configured CLI binary was not on PATH. -
E_LLM_CLI_PARSECould not parse the CLI's output as text/JSON. -
E_LLM_CLI_TIMEOUTThe CLI subprocess exceeded its timeout. -
E_LLM_CLI_SCHEMAInput failed Zod validation.