Renamed GeneratorException to TranslationException
Formatted error messages
Find function/var with assertion