For what value of y is the expression \(\frac{y + 2}{y^{2} - 3y - 10}\) undefined?
A
y = 0
B
y = 2
C
y = 3
D
y = 5
E
y = 10