Sha256: 73165c704d1423f8d9648df44c52e070b35f9275d117951e4c73ec7a40db2da1

Contents?: true

Size: 230 Bytes

Versions: 13

Compression:

Stored size: 230 Bytes

Contents

module Razorpay
  # Default Error class for any unknown errors
  class Error < StandardError
    attr_reader :code, :status

    def initialize(code = nil, status = nil)
      @code = code
      @status = status
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
razorpay-3.2.2 lib/razorpay/errors/razorpay_error.rb
razorpay-3.2.1 lib/razorpay/errors/razorpay_error.rb
razorpay-3.2.0 lib/razorpay/errors/razorpay_error.rb
razorpay-3.1.0 lib/razorpay/errors/razorpay_error.rb
razorpay-3.0.1 lib/razorpay/errors/razorpay_error.rb
razorruby-3.0.4 lib/razorpay/errors/razorpay_error.rb
razorruby-3.0.1 lib/razorpay/errors/razorpay_error.rb
razorpay-3.0.0 lib/razorpay/errors/razorpay_error.rb
razorpay-2.4.1 lib/razorpay/errors/razorpay_error.rb
razorpay-2.4.0 lib/razorpay/errors/razorpay_error.rb
razorpay-2.3.0 lib/razorpay/errors/razorpay_error.rb
razorpay-2.2.0 lib/razorpay/errors/razorpay_error.rb
razorpay-2.1.0 lib/razorpay/errors/razorpay_error.rb