Sha256: 03b5a30f991a3f651922fc2e1fdeab6c579eb2b6b72c487afe93510c1960c45f

Contents?: true

Size: 279 Bytes

Versions: 40

Compression:

Stored size: 279 Bytes

Contents

module Stripe
  class CardError < StripeError
    attr_reader :param, :code

    def initialize(message, param, code, http_status=nil, http_body=nil, json_body=nil)
      super(message, http_status, http_body, json_body)
      @param = param
      @code = code
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
stripe-1.22.0 lib/stripe/errors/card_error.rb
stripe-1.21.0 lib/stripe/errors/card_error.rb
stripe-1.20.4 lib/stripe/errors/card_error.rb
stripe-1.20.3 lib/stripe/errors/card_error.rb
stripe-1.20.2 lib/stripe/errors/card_error.rb
stripe-1.20.1 lib/stripe/errors/card_error.rb
stripe-1.20.0 lib/stripe/errors/card_error.rb
stripe-1.19.0 lib/stripe/errors/card_error.rb
stripe-1.18.0 lib/stripe/errors/card_error.rb
stripe-1.17.3 lib/stripe/errors/card_error.rb
stripe-1.17.2 lib/stripe/errors/card_error.rb
stripe-1.17.1 lib/stripe/errors/card_error.rb
stripe-1.16.1 lib/stripe/errors/card_error.rb
stripe-1.16.0 lib/stripe/errors/card_error.rb
stripe-1.15.0 lib/stripe/errors/card_error.rb
stripe-1.14.0 lib/stripe/errors/card_error.rb
stripe-1.13.0 lib/stripe/errors/card_error.rb
stripe-1.12.0 lib/stripe/errors/card_error.rb
stripe-1.11.0 lib/stripe/errors/card_error.rb
stripe-1.10.1 lib/stripe/errors/card_error.rb