Exception: RuneterraCards::EmptyInputError

Inherits:
DeckCodeParseError show all
Defined in:
lib/runeterra_cards/errors.rb

Overview

This exception is raised if the deck code is an empty string.

Instance Method Summary collapse

Constructor Details

#initializeEmptyInputError

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