throw a TypeError if asked to serialize a function
0.1.1