Exception: Pokeedex::Exceptions::ScrapperError
- Inherits:
-
StandardError
- Object
- StandardError
- Pokeedex::Exceptions::ScrapperError
- 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
-
#initialize(msg = 'An error occurred while trying to get the information. Please try again later.') ⇒ ScrapperError
constructor
A new instance of ScrapperError.
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 |