# `MishkaPay.Errors.Unreachable`
[🔗](https://github.com/mishka-group/mishka_pay/blob/v0.0.1/lib/mishka_pay/__errors/unreachable.ex#L5)

The provider never answered, after every retry: a refused connection, a timeout, a DNS error.

  * `:provider`: the provider's id.
  * `:reason`: the exception Req returned, such as a `Req.TransportError`.

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %MishkaPay.Errors.Unreachable{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  path: term(),
  provider: term(),
  reason: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

Create an `Elixir.MishkaPay.Errors.Unreachable` without raising it.

## Keys

- :provider
- :reason

---

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