# `Localize.LocaleCacheWriteError`
[🔗](https://github.com/elixir-localize/localize/blob/v0.38.0/lib/localize/exception/locale_cache_write_error.ex#L1)

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

# `reason`

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

# `t`

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

---

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