IMDS.Error exception (imds v1.0.0)

Copy Markdown

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.

Summary

Types

t()

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