Sha256: 0501d053eec566ed9f129681bfe0e76db738e7443cc823cef9e82011c87186f1

Contents?: true

Size: 233 Bytes

Versions: 11

Compression:

Stored size: 233 Bytes

Contents

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

    include Nesty::NestedError

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

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
geminabox-0.13.0 lib/geminabox/gem_store_error.rb
r5_geminabox-0.0.1 lib/geminabox/gem_store_error.rb
geminabox-0.12.4 lib/geminabox/gem_store_error.rb
geminabox-0.12.3 lib/geminabox/gem_store_error.rb
geminabox-jgraichen-0.12.2.4 lib/geminabox/gem_store_error.rb
geminabox-jgraichen-0.12.2.3 lib/geminabox/gem_store_error.rb
geminabox-jgraichen-0.12.2.2 lib/geminabox/gem_store_error.rb
geminabox-jgraichen-0.12.2.1 lib/geminabox/gem_store_error.rb
geminabox-0.12.2 lib/geminabox/gem_store_error.rb
geminabox-0.12.1 lib/geminabox/gem_store_error.rb
geminabox-0.12.0 lib/geminabox/gem_store_error.rb