Class | I18n::ExceptionHandler |
In: |
lib/i18n/exceptions.rb
|
Parent: | Object |
Handles exceptions raised in the backend. All exceptions except for MissingTranslationData exceptions are re-raised. When a MissingTranslationData was caught the handler returns an error message string containing the key/scope. Note that the exception handler is not called when the option :raise was given.