Exception: Lazier::Exceptions::MissingTranslation
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Lazier::Exceptions::MissingTranslation
- Defined in:
- lib/lazier/exceptions.rb
Overview
This exception is raised from I18n if no valid translation are found in the specified path.
Instance Method Summary (collapse)
-
- (MissingTranslation) initialize(locales, path)
constructor
Creates a new missing translation exception.
Constructor Details
- (MissingTranslation) initialize(locales, path)
Creates a new missing translation exception.
20 21 22 |
# File 'lib/lazier/exceptions.rb', line 20 def initialize(locales, path) super("Unable to load any of the following translation in #{path}: #{locales.join(", ")}.") end |