Move errors to assemble templates