raise an erppeek.Error when something bad happens