Exception: Pokeedex::Exceptions::ScrapperError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pokeedex/exceptions.rb

Overview

Error that is raised when an error occurs while trying to get the information from the scrapper class

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'An error occurred while trying to get the information. Please try again later.') ⇒ ScrapperError

Returns a new instance of ScrapperError.



10
11
12
# File 'lib/pokeedex/exceptions.rb', line 10

def initialize(msg = 'An error occurred while trying to get the information. Please try again later.')
  super
end