class Stripe::CardError

some reason.
CardError is raised when a user enters a card that can’t be charged for

def initialize(message, param, code, http_status: nil, http_body: nil,

TODO: make code a keyword arg in next major release
def initialize(message, param, code, http_status: nil, http_body: nil,
               json_body: nil, http_headers: nil)
  super(message, http_status: http_status, http_body: http_body,
                 json_body: json_body, http_headers: http_headers,
                 code: code)
  @param = param
end