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

A failure talking to a registry's Distribution v2 API.

Carries the HTTP `status`, the `registry`/`repository` in play, and the registry's JSON error
body (`{"errors":[...]}`) when one was returned.

# `t`

```elixir
@type t() :: %Stevedore.Registry.Error{
  __exception__: term(),
  body: term(),
  reason: atom() | String.t(),
  registry: String.t() | nil,
  repository: String.t() | nil,
  status: non_neg_integer() | nil
}
```

---

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