Which disease is related to a malfunctioning pancreas?

lupus
type 2 diabetes
sickle cell disease
Huntington’s disease