Raise a TypeError when operator fails