Create makeErrorArray.php