chore(engine): throw exception where it happend

related to #CAM-2404