Localize.LocaleCacheWriteError exception (Localize v0.38.0)

Copy Markdown View Source

Exception raised when a locale file cannot be written to the locale cache directory.

Summary

Types

reason()

@type reason() ::
  :permission_denied
  | :no_such_directory
  | :disk_full
  | :read_only_filesystem
  | :file_exists
  | :other_io_error

t()

@type t() :: %Localize.LocaleCacheWriteError{
  __exception__: term(),
  locale_id: atom(),
  path: Path.t() | nil,
  posix_error: :file.posix() | term() | nil,
  reason: reason() | nil
}