# `Localize.LocaleIsStaleError`
[🔗](https://github.com/elixir-localize/localize/blob/v1.4.0/lib/localize/exception/locale_is_stale_error.ex#L1)

Exception raised when a cached locale file is not the data this
release of Localize was built with.

`:reason` is `:version` when the file's version does not match
`Localize.version/0`, and `:content` when the version matches but the
file's bytes do not match the SHA-256 hash the release bundles for
it, as for a file downloaded before that data version was final.

---

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