Sha256: 75f16343ed06540cb449d8a178aeee95dde14c7c70d9b4b6e0a666d104ca0863

Contents?: true

Size: 226 Bytes

Versions: 4

Compression:

Stored size: 226 Bytes

Contents

module Payg
  # 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

4 entries across 4 versions & 1 rubygems

Version Path
payg-0.1.2 lib/payg/errors/payg_error.rb
payg-0.1.1 lib/payg/errors/payg_error.rb
payg-0.1 lib/payg/errors/payg_error.rb
payg-0.0.1 lib/payg/errors/payg_error.rb