Localize.LocaleIntegrityError exception (Localize v0.48.0)

Copy Markdown View Source

Exception raised when a downloaded locale file fails integrity verification against the hash manifest bundled with the package.

Summary

Types

reason()

@type reason() :: :hash_mismatch | :no_manifest_entry

t()

@type t() :: %Localize.LocaleIntegrityError{
  __exception__: term(),
  actual: String.t() | nil,
  expected: String.t() | nil,
  locale_id: atom(),
  reason: reason(),
  url: String.t() | nil
}