Accrue.Error.NotAttached exception (accrue v0.3.0)

Copy Markdown View Source

Raised when a payment method is referenced for a customer it is not attached to (e.g., set_default_payment_method/3 with a pm_id that belongs to a different customer).

Summary

Types

t()

@type t() :: %Accrue.Error.NotAttached{
  __exception__: true,
  customer_id: term(),
  message: term(),
  payment_method_id: term()
}