# `Localize.LocaleDownloadError`
[🔗](https://github.com/elixir-localize/localize/blob/v0.39.0/lib/localize/exception/locale_download_error.ex#L1)

Exception raised when a locale file cannot be downloaded from
its remote URL.

# `reason`

```elixir
@type reason() ::
  :not_modified
  | :http_error
  | :connection_timeout
  | :request_timeout
  | :nxdomain
  | :network_error
  | :safe_decode_failed
  | :stale_version
```

# `t`

```elixir
@type t() :: %Localize.LocaleDownloadError{
  __exception__: term(),
  cause: term() | nil,
  http_status: 100..599 | nil,
  locale_id: atom(),
  reason: reason() | nil,
  url: String.t() | nil
}
```

---

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