class I18n::ExceptionHandler

Overview

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:

i18n/exceptions.cr

Instance Method Summary

Instance Method Detail

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

[View source]