Exception: GreekABC::LetterNotFoundError
- Inherits:
-
GreekABCError
- Object
- StandardError
- GreekABCError
- GreekABC::LetterNotFoundError
- Defined in:
- lib/greek_abc/errors.rb
Overview
Raised when the passed parameter and value didn’t match any Letter
Instance Method Summary collapse
-
#initialize(parameter, value) ⇒ LetterNotFoundError
constructor
A new instance of LetterNotFoundError.
Constructor Details
#initialize(parameter, value) ⇒ LetterNotFoundError
Returns a new instance of LetterNotFoundError.
15 16 17 |
# File 'lib/greek_abc/errors.rb', line 15 def initialize(parameter, value) super("Letter with `#{parameter}: #{value}` was not found") end |