Exception: RuneterraCards::EmptyInputError
- Inherits:
-
DeckCodeParseError
- Object
- StandardError
- DeckCodeParseError
- RuneterraCards::EmptyInputError
- Defined in:
- lib/runeterra_cards/errors.rb
Overview
This exception is raised if the deck code is an empty string.
Instance Method Summary collapse
-
#initialize ⇒ EmptyInputError
constructor
Returns a new instance of EmptyInputError with a helpful error message preloaded.
Constructor Details
#initialize ⇒ EmptyInputError
Returns a new instance of EmptyInputError with a helpful error message preloaded.
22 23 24 |
# File 'lib/runeterra_cards/errors.rb', line 22 def initialize super('The input was an empty string') end |