Sha256: a78046a4d8ce1c2d1e939dc0100ec02fd27b2b99db5ed39eb89dfc8f8b6dc90b

Contents?: true

Size: 259 Bytes

Versions: 8

Compression:

Stored size: 259 Bytes

Contents

# frozen_string_literal: true

require 'nesty'
module Geminabox
  class GemStoreError < StandardError
    attr_reader :code, :reason

    include Nesty::NestedError

    def initialize(code, reason)
      @code = code
      @reason = reason
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
geminabox-2.1.0 lib/geminabox/gem_store_error.rb
geminabox-2.1.0.rc.1 lib/geminabox/gem_store_error.rb
geminabox-2.0.0 lib/geminabox/gem_store_error.rb
geminabox-2.0.0.rc.1 lib/geminabox/gem_store_error.rb
geminabox-1.5.0 lib/geminabox/gem_store_error.rb
geminabox-1.5.0.rc.1 lib/geminabox/gem_store_error.rb
geminabox-1.4.3 lib/geminabox/gem_store_error.rb
geminabox-1.4.3.rc lib/geminabox/gem_store_error.rb