CliSubprocessCore.ProviderCLI.ErrorRuntimeFailure exception (CliSubprocessCore v0.1.0)

Copy Markdown View Source

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.

Summary

Types

kind()

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

t()

@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
}