Sha256: fb3fa2e9cb10c16296fe6e039947c7f9d174c3ac1d40a42f69ed448effba4a86

Contents?: true

Size: 210 Bytes

Versions: 2

Compression:

Stored size: 210 Bytes

Contents

module Peddler
  module Errors
    # @api private
    class Error < StandardError
      attr_reader :cause

      def initialize(msg, cause)
        @cause = cause
        super msg
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
peddler-1.4.1 lib/peddler/errors/error.rb
peddler-1.4.0 lib/peddler/errors/error.rb