Exception: GreekABC::LetterLookupParamsError

Inherits:
GreekABCError
  • Object
show all
Defined in:
lib/greek_abc/errors.rb

Overview

Raised when the lookup parameter is not a valid Letter attribute

Instance Method Summary collapse

Constructor Details

#initialize(wrong_parameter) ⇒ LetterLookupParamsError

Returns a new instance of LetterLookupParamsError.



8
9
10
# File 'lib/greek_abc/errors.rb', line 8

def initialize(wrong_parameter)
  super("`#{wrong_parameter}` is not an existing letter attribute")
end