Class: I18n::ExceptionHandler

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

Overview

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.