class I18n::ExceptionHandler


Handles exceptions raised in the backend. All exceptions except for MissingTranslationData exceptions are re-thrown. 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 :throw was given.

Defined in:


Instance Method Summary

Instance Method Detail

def call(exception, locale, key, options, count, default) #

[View source]