Exception: TheGamesDB::Exception::GameNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/the_games_db/exception.rb

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ GameNotFound

Returns a new instance of GameNotFound.



11
12
13
# File 'lib/the_games_db/exception.rb', line 11

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