Nit: This should be TypeError