Removed 2 unneccessay constants out of ApiErrorException.php