Exception: I18n::ExtraTranslations::UnexpectedTranslationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/i18n/extra_translations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, original_exception)
  super(message)
  @original_exception = original_exception
end

Instance Attribute Details

#original_exceptionObject (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