Pass copy of error list instead of direct reference