Stevedore.Registry.Error exception (Stevedore v0.1.0)

Copy Markdown View Source

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.

Summary

Types

t()

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