Exception: GreekABC::LetterLookupParamsError
- Inherits:
-
GreekABCError
- Object
- StandardError
- GreekABCError
- GreekABC::LetterLookupParamsError
- Defined in:
- lib/greek_abc/errors.rb
Overview
Raised when the lookup parameter is not a valid Letter attribute
Instance Method Summary collapse
-
#initialize(wrong_parameter) ⇒ LetterLookupParamsError
constructor
A new instance of LetterLookupParamsError.
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 |