ErrorEvent compile time errors resolution # 1