Invalid adapter throws TypeError, not ValueError