I chose `TypeError` because this is what python raises if you call a function with a wrong argument.
But I do not have strong opinion on this, So I'll follow your recommendation and let's get it merged. I'm eager :smile: