GustShell.ShellExitError exception (gust_shell v0.1.0)

Copy Markdown View Source

Exception raised when a shell command exits with a non-zero status or is killed by a signal.

Preserves exit code, stdout, stderr, and coredump information for error reporting and logging.

Summary

Types

t()

@type t() :: %GustShell.ShellExitError{
  __exception__: true,
  coredump: boolean() | nil,
  exit_code: non_neg_integer(),
  stderr: String.t(),
  stdout: String.t()
}