Function which gets called before FillErrorDataMap, designed to set Optional Variales before ErrorProperties are created.
См. определение в файле ErrorHandlerModule.c строка 96