The function of DERL2 (derlin 2, ENSG00000072849) is as follows. Functional component of endoplasmic reticulum-associated degradation (ERAD) for misfolded lumenal glycoproteins, but not that of misfolded nonglycoproteins. May act by forming a channel that allows the retrotranslocation of misfolded glycoproteins into the cytosol where they are ubiquitinated and degraded by the proteasome. May mediate the interaction between VCP and misfolded glycoproteins (PubMed:16186509, PubMed:16449189). May also be involved in endoplasmic reticulum stress-induced pre-emptive quality control, a mechanism that selectively attenuates the translocation of newly synthesized proteins into the endoplasmic reticulum and reroutes them to the cytosol for proteasomal degradation (PubMed:26565908). {ECO:0000269|PubMed:16186509, ECO:0000269|PubMed:16449189, ECO:0000269|PubMed:26565908}. (Microbial infection) In contrast to DERL1, it is not involved in the degradation of MHC class I heavy chains following infection by cytomegaloviruses. .