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

Copy Markdown View Source

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.

Summary

Functions

exception(args)

@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