Adds the pdoError templates and delete the error template.