add error config to initiatives.php and ServerIO.php