function fileErr(err, res) {
	if (err.code === 'ENOENT')
		errorResponse(error.projectNotFound404, res);
	else {
		log.error(err.stack);
		errorResponse(error.projectFailedOpen500, res);
	}
}
Handle error while opening project directory.

@param err
@param res