# `CliSubprocessCore.Command.Error`
[🔗](https://github.com/nshkrdotcom/cli_subprocess_core/blob/v0.1.0/lib/cli_subprocess_core/command/error.ex#L1)

Structured failures for the provider-aware non-PTY command lane.

# `reason`

```elixir
@type reason() ::
  {:invalid_options, term()}
  | {:provider_not_found, atom()}
  | {:command_plan_failed, term()}
  | {:transport, ExternalRuntimeTransport.Transport.Error.t()}
```

# `t`

```elixir
@type t() :: %CliSubprocessCore.Command.Error{
  __exception__: true,
  context: map(),
  message: binary(),
  reason: reason()
}
```

# `command_plan_failed`

Wraps provider profile command construction failures.

# `invalid_options`

Wraps invalid command-lane options.

# `provider_not_found`

Wraps provider lookup failure for provider-aware execution.

# `transport_error`

```elixir
@spec transport_error(ExternalRuntimeTransport.Transport.Error.t(), map()) :: t()
```

Wraps a transport-layer execution failure.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
