# `Snakepit.PackageError`
[🔗](https://github.com/nshkrdotcom/snakepit/blob/v0.13.0/lib/snakepit/package_error.ex#L1)

Structured error for Python package installation and inspection.

# `t`

```elixir
@type t() :: %Snakepit.PackageError{
  __exception__: true,
  message: String.t(),
  output: String.t() | nil,
  packages: [String.t()],
  suggestion: String.t() | nil,
  type: type()
}
```

# `type`

```elixir
@type type() ::
  :not_installed | :install_failed | :version_mismatch | :invalid_requirement
```

---

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