# `CliSubprocessCore.ProviderCLI.ErrorRuntimeFailure`
[🔗](https://github.com/nshkrdotcom/cli_subprocess_core/blob/v0.1.0/lib/cli_subprocess_core/provider_cli.ex#L33)

Structured provider CLI runtime failure.

This is used after a provider command has already been selected and a
process was started, but the runtime still failed due to missing
executables, invalid working-directory placement, authentication problems,
or a generic process/transport failure.

# `kind`

```elixir
@type kind() ::
  :auth_error
  | :cli_not_found
  | :cwd_not_found
  | :process_exit
  | :transport_error
```

# `t`

```elixir
@type t() :: %CliSubprocessCore.ProviderCLI.ErrorRuntimeFailure{
  __exception__: true,
  cause: term(),
  context: map(),
  exit_code: integer() | nil,
  kind: kind(),
  message: String.t(),
  provider: atom(),
  stderr: String.t() | nil
}
```

---

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