Functionality for the error template to take foreground and background colours
Print compilation error for dofile detour.
Pass arguments from dofile to the function.