Sha256: dd32233a63042ae1455d5ddbe736e4b9578484ba1d3975b2f1e0eb6c9ed6b6c1

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

module TheGamesDB
  module Exception

    class BadResponse < StandardError
      def initialize(message)
        super "Error Fetching Data from TheGamesDB: #{message}"
      end
    end

    class GameNotFound < StandardError
      def initialize(id)
        super "Game Not Found: id = #{id}"
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
the_games_db-0.1.0 lib/the_games_db/exception.rb
the_games_db-0.0.1 lib/the_games_db/exception.rb