# `Stevedore.Archive.Error`
[🔗](https://github.com/oshlabs/stevedore/blob/v0.2.0/lib/stevedore/archive/error.ex#L1)

An error raised or returned while reading or writing a tar archive.

One error struct for the archive subsystem (per the project error conventions in `AGENTS.md`):
context-rich failures carry a `reason` and, where useful, the byte `offset` at which parsing
failed.

# `t`

```elixir
@type t() :: %Stevedore.Archive.Error{
  __exception__: term(),
  offset: non_neg_integer() | nil,
  reason: atom() | String.t()
}
```

---

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