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

The provider cannot do this operation, as its `capabilities/0` says: a refund through a provider
without refunds, for example.

  * `:provider`: the provider's id; the message names it by its label (`PayPal`).
  * `:operation`: the operation asked for, such as `:refund`.

# `exception`

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

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

## Keys

- :provider
- :operation

---

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