Protein quality control through endoplasmic reticulum-associated degradation maintains haematopoietic stem cell identity and niche interactions.