A regulatory link between ER-associated protein degradation and the unfolded-protein response.