# `IMDS.Error`

The error the bang functions of `IMDS` raise.

The `:token_failed` reason covers both a rejected token request and a token
that the metadata service refuses after one renewal.

# `t`

```elixir
@type t() :: %IMDS.Error{
  __exception__: true,
  message: binary() | nil,
  provider: atom() | nil,
  reason: term()
}
```

---

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