Better exception thrown when problem on delete dependencies from Engine