# `HTTPower.Error`
[🔗](https://github.com/mdepolli/httpower/blob/v0.22.0/lib/httpower/error.ex#L1)

HTTP error struct from HTTPower.

This struct provides a clean abstraction for all possible HTTP errors,
whether they're network issues, timeouts, or other problems.

# `reason`

```elixir
@type reason() ::
  atom()
  | {:http_status, integer(), HTTPower.Response.t()}
  | {:feature_error, module(), term()}
```

# `t`

```elixir
@type t() :: %HTTPower.Error{message: String.t(), reason: reason()}
```

---

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