Exception: Mack::Localization::Errors::UnknownStringKey
- Defined in:
- lib/mack-localization/errors.rb
Overview
Raise this error when the user is trying to get a string using an invalid key
Instance Method Summary collapse
-
#initialize(key) ⇒ UnknownStringKey
constructor
A new instance of UnknownStringKey.
Constructor Details
#initialize(key) ⇒ UnknownStringKey
Returns a new instance of UnknownStringKey.
38 39 40 |
# File 'lib/mack-localization/errors.rb', line 38 def initialize(key) super("Key: #{key} cannot be found in the language files") end |