Sha256: b3b40dd550bebdb4510029511f7c28c2f002cd512292e932cf4c40b70ab43918

Contents?: true

Size: 330 Bytes

Versions: 54

Compression:

Stored size: 330 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,
                   http_headers=nil)
      super(message, http_status, http_body, json_body, http_headers)
      @param = param
      @code = code
    end
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
stripe-1.57.1 lib/stripe/errors/card_error.rb
stripe-1.57.0 lib/stripe/errors/card_error.rb
stripe-1.56.2 lib/stripe/errors/card_error.rb
stripe-1.56.1 lib/stripe/errors/card_error.rb
stripe-1.56.0 lib/stripe/errors/card_error.rb
stripe-1.55.1 lib/stripe/errors/card_error.rb
stripe-1.55.0 lib/stripe/errors/card_error.rb
stripe-1.54.0 lib/stripe/errors/card_error.rb
stripe-1.53.0 lib/stripe/errors/card_error.rb
stripe-1.52.0 lib/stripe/errors/card_error.rb
stripe-1.51.1 lib/stripe/errors/card_error.rb
stripe-1.51.0 lib/stripe/errors/card_error.rb
stripe-1.50.1 lib/stripe/errors/card_error.rb
stripe-1.50.0 lib/stripe/errors/card_error.rb
stripe-1.49.0 lib/stripe/errors/card_error.rb
stripe-1.48.0 lib/stripe/errors/card_error.rb
stripe-1.47.0 lib/stripe/errors/card_error.rb
stripe-1.46.0 lib/stripe/errors/card_error.rb
stripe-1.45.0 lib/stripe/errors/card_error.rb
stripe-1.44.0 lib/stripe/errors/card_error.rb