Raise TypeError if missing injected argument