Exception: I18n::ExtraTranslations::UnexpectedTranslationError
- Inherits:
-
StandardError
- Object
- StandardError
- I18n::ExtraTranslations::UnexpectedTranslationError
- Defined in:
- lib/i18n/extra_translations.rb
Instance Attribute Summary collapse
-
#original_exception ⇒ Object
readonly
Returns the value of attribute original_exception.
Instance Method Summary collapse
-
#initialize(message, original_exception) ⇒ UnexpectedTranslationError
constructor
A new instance of UnexpectedTranslationError.
Constructor Details
#initialize(message, original_exception) ⇒ UnexpectedTranslationError
Returns a new instance of UnexpectedTranslationError.
13 14 15 16 |
# File 'lib/i18n/extra_translations.rb', line 13 def initialize(, original_exception) super() @original_exception = original_exception end |
Instance Attribute Details
#original_exception ⇒ Object (readonly)
Returns the value of attribute original_exception.
11 12 13 |
# File 'lib/i18n/extra_translations.rb', line 11 def original_exception @original_exception end |