allow error to be thrown