MishkaPay.Errors.Unsupported exception (Mishka Pay v0.0.1)

Copy Markdown View Source

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.

Summary

Functions

exception(args)

@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