I thought TypeError would suffice along with 'transformer', that way you know your transformer is not of the right type to be registered.  I was always taught that more verbose errors should be thrown by higher level code.