Sha256: 61d50b5a4937dcbc52b381229112c28f681bdab33854a2b912cd9dbccadfecd0

Contents?: true

Size: 166 Bytes

Versions: 7

Compression:

Stored size: 166 Bytes

Contents

module OxfordDictionary
  # Basic class for errors
  class Error < StandardError
    attr_reader :code

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
oxford_dictionary-1.3.1 lib/oxford_dictionary/error.rb
oxford_dictionary-1.3.0 lib/oxford_dictionary/error.rb
oxford_dictionary-1.2.0 lib/oxford_dictionary/error.rb
oxford_dictionary-1.1.0 lib/oxford_dictionary/error.rb
oxford_dictionary-1.0.1 lib/oxford_dictionary/error.rb
oxford_dictionary-1.0.0 lib/oxford_dictionary/error.rb
oxford_dictionary-0.1.0 lib/oxford_dictionary/error.rb