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

No keys for this provider and tenant.

  * `:provider`, `:tenant`: what was asked for.
  * `:reason`: `:no_answer` when no plugin on `mishka_pay:credentials` answered, `:cannot_run` when
    a plugin of the event is registered but not loaded, `:raised` when one raised, `:exited`
    when one called `exit` or `throw` (or a process it called died), `:timeout` when no answer
    came in time.

# `exception`

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

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

## Keys

- :provider
- :tenant
- :reason

---

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